v8  8.1.307(node14.1.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 4893 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: