UNPKG

@loaders.gl/worker-utils

Version:

Utilities for running tasks on worker threads

9 lines (8 loc) 220 B
// loaders.gl // SPDX-License-Identifier: MIT // Copyright (c) vis.gl contributors import { createWorker } from "../lib/worker-api/create-worker.js"; createWorker(async (data) => { // @ts-ignore return data; });