tools-data-providers

Home > @lukso/data-provider-base > wrapStream

wrapStream() function

Wrap a stream so that a readstream can be detected in node without loading the module in the browser.

Signature:

declare function wrapStream(data: any): Promise<any>;

Parameters

Parameter Type Description
data any  

Returns:

Promise<any>