UNPKG

@loaders.gl/worker-utils

Version:

Utilities for running tasks on worker threads

12 lines (11 loc) 267 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assert = assert; function assert(condition, message) { if (!condition) { throw new Error(message || 'loaders.gl assertion failed.'); } } //# sourceMappingURL=assert.js.map