V8 API Reference Guide generated from the header files
Public Member Functions
v8::WasmModuleObjectBuilderStreaming Class Referencefinal

Public Member Functions

 WasmModuleObjectBuilderStreaming (Isolate *isolate)
 
void OnBytesReceived (const uint8_t *, size_t size)
 
void Finish ()
 
void Abort (MaybeLocal< Value > exception)
 
Local< PromiseGetPromise ()
 

Member Function Documentation

◆ Abort()

void v8::WasmModuleObjectBuilderStreaming::Abort ( MaybeLocal< Value exception)

Abort streaming compilation. If {exception} has a value, then the promise associated with streaming compilation is rejected with that value. If {exception} does not have value, the promise does not get rejected.

◆ OnBytesReceived()

void v8::WasmModuleObjectBuilderStreaming::OnBytesReceived ( const uint8_t *  ,
size_t  size 
)

The buffer passed into OnBytesReceived is owned by the caller.


The documentation for this class was generated from the following file: