onnxruntime/js/web/lib/wasm/binding/ort-wasm-threaded.d.ts
Yulong Wang 97d9bcd644
[js/web] fix bundle for multi-thread, add e2e test and support nodejs (#7688)
* fix bundle for multi-thread, add e2e test and support nodejs

* add copyright banner

* resolve comments

* add comments for isMultiThreadSupported()
2021-05-14 18:15:38 -07:00

11 lines
356 B
TypeScript

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {OrtWasmModule} from './ort-wasm';
export interface OrtWasmThreadedModule extends OrtWasmModule {
PThread?: {terminateAllThreads(): void};
}
declare const moduleFactory: EmscriptenModuleFactory<OrtWasmThreadedModule>;
export default moduleFactory;