yajsapi / Exports / rest/market / Subscription
rest/market.Subscription
• new Subscription(api
, subscription_id
, _details?
)
Parameters
Name | Type | Default value |
---|---|---|
api |
RequestorApi |
undefined |
subscription_id |
string |
undefined |
_details |
null | Demand |
null |
Defined in
• _api: RequestorApi
Defined in
• Private
_deleted: boolean
Defined in
• Private
_details: any
Defined in
• Private
_id: string
Defined in
• Private
_open: boolean
Defined in
▸ close(): void
Returns
void
Defined in
▸ delete(): Promise
Returns
Promise
Defined in
▸ details(): Demand
Returns
Demand
Defined in
▸ done(): Promise
Returns
Promise
Defined in
▸ events(cancellationToken?
): AsyncGenerator
<OfferProposal, any, unknown>
Parameters
Name | Type |
---|---|
cancellationToken? |
any |
Returns
AsyncGenerator
<OfferProposal, any, unknown>
Defined in
▸ id(): string
Returns
string
Defined in
▸ ready(): Promise
<Subscription>
Returns
Promise
<Subscription>
Defined in