@lightningjs/threadx
Version:
A web browser-based JavaScript library that helps manage the communcation of data between one or more web worker threads.
12 lines (11 loc) • 393 B
TypeScript
/**
* The Global object.
*
* @remarks
* Use this instead of accessing `window` or `self` directly.
*
* In the future we may try to get ThreadX working with NodeJS, in that case
* this can be changed to include NodeJS vs Browser detection logic.
*/
export declare const resolvedGlobal: any;
export declare function assertTruthy(condition: unknown, message?: string): asserts condition;