UNPKG

@loaders.gl/worker-utils

Version:

Utilities for running tasks on worker threads

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