Add support for browsers without SIMD
PiperOrigin-RevId: 491371277
This commit is contained in:
committed by
Copybara-Service
parent
395d9d8ea2
commit
153edc59a1
@@ -133,9 +133,11 @@ export type ImageSource =
|
||||
/** A listener that will be invoked with an absl::StatusCode and message. */
|
||||
export type ErrorListener = (code: number, message: string) => void;
|
||||
|
||||
// Internal type of constructors used for initializing GraphRunner and
|
||||
// subclasses.
|
||||
type WasmMediaPipeConstructor<LibType> =
|
||||
/**
|
||||
* Internal type of constructors used for initializing GraphRunner and
|
||||
* subclasses.
|
||||
*/
|
||||
export type WasmMediaPipeConstructor<LibType> =
|
||||
(new (
|
||||
module: WasmModule, canvas?: HTMLCanvasElement|OffscreenCanvas|null) =>
|
||||
LibType);
|
||||
|
||||
Reference in New Issue
Block a user