Variable WasmFeatureDetectorsConst
WasmFeatureDetectors: { bigInt: () => Promise<boolean>; bulkMemory: () => Promise<boolean>; exceptions: () => Promise<boolean>; extendedConst: () => Promise<boolean>; gc: () => Promise<boolean>; memory64: () => Promise<boolean>; multiValue: () => Promise<boolean>; mutableGlobals: () => Promise<boolean>; referenceTypes: () => { "[species]": PromiseConstructor; prototype: Promise<any>; all<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>[]>; all<T extends [] | readonly unknown[]>( values: T, ): Promise< { -readonly [P in string | number | symbol]: Awaited<T[P<P>]> }, >; allSettled<T extends [] | readonly unknown[]>( values: T, ): Promise< { -readonly [P in string | number | symbol]: PromiseSettledResult<Awaited<T[P<P>]>> }, >; allSettled<T>( values: Iterable<T | PromiseLike<T>>, ): Promise<PromiseSettledResult<Awaited<T>>[]>; any<T extends [] | readonly unknown[]>( values: T, ): Promise<Awaited<T[number]>>; any<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>; race<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>; race<T extends [] | readonly unknown[]>( values: T, ): Promise<Awaited<T[number]>>; reject<T = never>(reason?: any): Promise<T>; resolve(): Promise<void>; resolve<T>(value: T): Promise<Awaited<T>>; resolve<T>(value: T | PromiseLike<T>): Promise<Awaited<T>>; withResolvers<T>(): PromiseWithResolvers<T>; new ( executor: ( resolve: (value: boolean | PromiseLike<boolean>) => void, reject: (reason?: any) => void, ) => void, ): Promise<boolean>; }; relaxedSimd: () => Promise<boolean>; saturatedFloatToInt: () => Promise<boolean>; signExtensions: () => Promise<boolean>; simd: () => Promise<boolean>; streamingCompilation: () => Promise<boolean>; tailCall: () => Promise<boolean>; threads: () => Promise<boolean>;} Type declaration
Readonly
bigInt: () => Promise<boolean>
Readonly
bulkMemory: () => Promise<boolean>
Readonly
exceptions: () => Promise<boolean>
Readonly
extendedConst: () => Promise<boolean>
Readonly
gc: () => Promise<boolean>
Readonly
memory64: () => Promise<boolean>
Readonly
multiValue: () => Promise<boolean>
Readonly
mutableGlobals: () => Promise<boolean>
Readonly
referenceTypes: () => {
"[species]": PromiseConstructor;
prototype: Promise<any>;
all<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>[]>;
all<T extends [] | readonly unknown[]>(
values: T,
): Promise<{ -readonly [P in string | number | symbol]: Awaited<T[P<P>]> }>;
allSettled<T extends [] | readonly unknown[]>(
values: T,
): Promise<
{
-readonly [P in string
| number
| symbol]: PromiseSettledResult<Awaited<T[P<P>]>>
},
>;
allSettled<T>(
values: Iterable<T | PromiseLike<T>>,
): Promise<PromiseSettledResult<Awaited<T>>[]>;
any<T extends [] | readonly unknown[]>(
values: T,
): Promise<Awaited<T[number]>>;
any<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;
race<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;
race<T extends [] | readonly unknown[]>(
values: T,
): Promise<Awaited<T[number]>>;
reject<T = never>(reason?: any): Promise<T>;
resolve(): Promise<void>;
resolve<T>(value: T): Promise<Awaited<T>>;
resolve<T>(value: T | PromiseLike<T>): Promise<Awaited<T>>;
withResolvers<T>(): PromiseWithResolvers<T>;
new (
executor: (
resolve: (value: boolean | PromiseLike<boolean>) => void,
reject: (reason?: any) => void,
) => void,
): Promise<boolean>;
}
Readonly
relaxedSimd: () => Promise<boolean>
Readonly
saturatedFloatToInt: () => Promise<boolean>
Readonly
signExtensions: () => Promise<boolean>
Readonly
simd: () => Promise<boolean>
Readonly
streamingCompilation: () => Promise<boolean>
Readonly
tailCall: () => Promise<boolean>
Readonly
threads: () => Promise<boolean>