UNPKG

native-canvas

Version:

A canvas library allows for a HTML canvas to run natively on NodeJs, without a WebBrowser

11 lines (10 loc) 269 B
export declare const threadFunctions: any; export declare type Runnable = () => void; export declare class Thread { private name; private runnable; private threadPtr; constructor(name: string, runnable: Runnable); start(): void; stop(): void; }