js-util

Home > rc-js-util > SharedArray > createOneF32

SharedArray.createOneF32() method

Signature:

static createOneF32(wrapper: IEmscriptenWrapper<ISharedArrayBindings>, length: number, clearMemory: boolean, allocationFailThrows: boolean): TF32SharedArray | null;

Parameters

Parameter Type Description
wrapper IEmscriptenWrapper<ISharedArrayBindings>  
length number  
clearMemory boolean  
allocationFailThrows boolean  

Returns:

TF32SharedArray | null