PostconditionManager
class
PostconditionManager
sourceexport class PostconditionManager export class PostconditionManagerconstructor(client: Client, postconditions?: Iterable<CommandPostcondition.Resolvable>) constructor(client: Client, postconditions?: Iterable<CommandPostcondition.Resolvable>)| Param | Type | Required |
|---|---|---|
| | Yes |
| | No |
execute<T extends CommandType, D>(options: PostconditionManager.ExecuteOptions<T, D>): Promise<PostconditionResultManager<T, D>> execute<T extends CommandType, D>(options: PostconditionManager.ExecuteOptions<T, D>): Promise<PostconditionResultManager<T, D>>| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
Promise<PostconditionResultManager<T, D>> Promise<PostconditionResultManager<T, D>>private source
.emitOrThrow(...)
emitOrThrow<K extends keyof PostconditionManager.Events>(event: K, ...args: PostconditionManager.Events[K]): boolean emitOrThrow<K extends keyof PostconditionManager.Events>(event: K, ...args: PostconditionManager.Events[K]): boolean| Param | Type | Required |
|---|---|---|
| | Yes |
| | No |
Returns:
boolean boolean