v8  6.7.288(node10.6.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 ()

Detailed Description

Definition at line 4228 of file v8.h.

Constructor & Destructor Documentation

WasmModuleObjectBuilderStreaming ( Isolate isolate)

Member Function Documentation

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.

void Finish ( )
Local<Promise> GetPromise ( )
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: