G
G
Golem SDK
Search…
yapapi - Python high-level API
yajsapi - JavaScript high-level API
Yagna Contributor Guide
Powered By GitBook
Class: InputStorageProvider
yajsapi / Exports / storage / InputStorageProvider

Class: InputStorageProvider

storage.InputStorageProvider

Hierarchy

Table of contents

Constructors

Methods

Constructors

constructor

new InputStorageProvider()

Methods

upload_bytes

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

upload_file

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

upload_stream

upload_stream(length, stream): Promise<Source>
Parameters
Name
Type
length
number
stream
AsyncGenerator
Returns
Promise<Source>
Defined in
Last modified 6d ago