Type alias CommandEventMap

CommandEventMap: {
    commandFailed: CommandFailedEvent;
    commandStarted: CommandStartedEvent;
    commandSucceeded: CommandSucceededEvent;
    commandWarnings: CommandWarningsEvent;
}

The events emitted by the DataAPIClient. These events are emitted at various stages of the command's lifecycle. Intended for use for monitoring and logging purposes.

Note that these emit real commands, not any abstracted commands like "insertMany" or "updateMany", which may be split into multiple of those commands under the hood.

Type declaration