Class default<TPayload, TMatcher>
Constructors
Methods
reject
- reject(payload, message): boolean
Returns boolean
remove
- remove(ID): void
Returns void
resolve
- resolve(payload): boolean
Returns boolean
waitFor
- waitFor(matcher, timeout): {
ID: number;
start: (() => {
ID: number;
promise: Promise<TPayload>;
});
} Returns {
ID: number;
start: (() => {
ID: number;
promise: Promise<TPayload>;
});
}
ID: number
start: (() => {
ID: number;
promise: Promise<TPayload>;
})
- (): {
ID: number;
promise: Promise<TPayload>;
} Returns {
ID: number;
promise: Promise<TPayload>;
}