v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
WasmModuleObjectBuilderStreaming Class Referencefinal

#include <v8-wasm.h>

Public Member Functions

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

Detailed Description

Definition at line 211 of file v8-wasm.h.

Constructor & Destructor Documentation

◆ WasmModuleObjectBuilderStreaming()

WasmModuleObjectBuilderStreaming ( Isolate isolate)
explicit

◆ ~WasmModuleObjectBuilderStreaming()

Member Function Documentation

◆ Abort()

void 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.

◆ Finish()

void Finish ( )

◆ GetPromise()

Local<Promise> GetPromise ( )

◆ OnBytesReceived()

void 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: