ZCFSeat: RemotableObject & { exit: ((completion?: Completion) => void); fail: ZCFSeatFail; getAmountAllocated: (<B>(keyword: Keyword,
brand?: B) => B extends Brand<infer K> ? Amount<K> : Amount); getCurrentAllocation: (() => Allocation); getProposal: (() => ProposalRecord); getSubscriber: (() => Promise<Subscriber<Allocation>>); hasExited: (() => boolean); isOfferSafe: ((newAllocation: Allocation) => boolean); } Type declaration
exit: ((completion?: Completion) => void)
- (completion?): void
Returns void
getAmountAllocated: (<B>(keyword: Keyword, brand?: B) => B extends Brand<infer K>
? Amount<K>
: Amount)
- <B>(keyword, brand?): B extends Brand<infer K>
? Amount<K>
: Amount Parameters
- keyword: Keyword
Optional
brand: B
getCurrentAllocation: (() => Allocation)
- (): Allocation
Returns Allocation
getSubscriber: (() => Promise<Subscriber<Allocation>>)
hasExited: (() => boolean)
- (): boolean
Returns boolean
isOfferSafe: ((newAllocation: Allocation) => boolean)
- (newAllocation): boolean
Parameters
- newAllocation: Allocation
Returns boolean
used for filling in an empty amount if the
keyword
is not present in the allocation