v8  9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
WasmModuleObjectBuilderStreaming Class Referencefinal

#include <v8.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 5185 of file v8.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: