G
G
Golem SDK
Search
K

Class: ComposedStorageProvider

yajsapi / Exports / storage / ComposedStorageProvider

Class: ComposedStorageProvider

storage.ComposedStorageProvider

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ComposedStorageProvider(input_storage, output_storage)
Parameters
Name
Type
input_storage
output_storage
Defined in

Properties

_input

Private _input: any
Defined in

_output

Private _output: any
Defined in

Methods

new_destination

new_destination(destination_file?): Promise<Destination>
Parameters
Name
Type
Default value
destination_file
null | string
null
Returns
Promise<Destination>
Implementation of
StorageProvider.new_destination
Defined in

upload_bytes

upload_bytes(data): Promise<Source>
Parameters
Name
Type
data
Buffer
Returns
Promise<Source>
Implementation of
StorageProvider.upload_bytes
Defined in

upload_file

upload_file(path): Promise<Source>
Parameters
Name
Type
path
string
Returns
Promise<Source>
Implementation of
StorageProvider.upload_file
Defined in

upload_stream

upload_stream(length, stream): Promise<Source>
Parameters
Name
Type
length
number
stream
AsyncGenerator
Returns
Promise<Source>
Implementation of
StorageProvider.upload_stream
Defined in