Home > @lukso/data-provider-base > wrapStream
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>;
Parameter | Type | Description |
---|---|---|
data | any |
Returns:
Promise<any>