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

Class: Activity

rest/activity.Activity

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new Activity(id, _api, _state)
Parameters
Name
Type
id
string
_api
RequestorControlApi
_state
RequestorStateApi
Defined in

Properties

_api

Protected _api: RequestorControlApi
Defined in

_credentials

Protected Optional _credentials: object
Defined in

_id

Protected _id: string
Defined in

_state

Protected _state: RequestorStateApi
Defined in

Accessors

credentials

get credentials(): undefined | object
Returns
undefined | object
Defined in

exeunitHashes

get exeunitHashes(): undefined | string[]
Returns
undefined | string[]
Defined in

id

get id(): string
Returns
string
Defined in
set id(x): void
Parameters
Name
Type
x
string
Returns
void
Defined in

Methods

done

done(): Promise
Returns
Promise
Defined in

ready

ready(): Promise<Activity>
Returns
Promise<Activity>
Defined in

send

send(script, stream, deadline?, cancellationToken?): Promise
Parameters
Name
Type
script
object[]
stream
boolean
deadline?
number
cancellationToken?
default
Returns
Promise
Defined in

state

state(): Promise
Returns
Promise
Defined in
Last modified 6d ago