V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
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 ()
 

Detailed Description

Definition at line 4440 of file v8.h.

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.

Definition at line 7539 of file api.cc.

◆ OnBytesReceived()

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

The buffer passed into OnBytesReceived is owned by the caller.

Definition at line 7532 of file api.cc.


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