Type declaration
clear: (() => void)
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
getStagedAllocation: (() => Allocation)
- (): Allocation
Returns Allocation
getSubscriber: (() => Promise<Subscriber<Allocation>>)
hasExited: (() => boolean)
- (): boolean
Returns boolean
hasStagedAllocation: (() => boolean)
- (): boolean
Returns boolean
isOfferSafe: ((newAllocation: Allocation) => boolean)
- (newAllocation): boolean
Parameters
- newAllocation: Allocation
Returns boolean
Deprecated
Use atomicRearrange instead