Optional logger instance for logging within the invocation list.
An iterator over the invocations and errors in the list.
Dispatch each invocation or error in the list to the appropriate handler function.
An object mapping method IDs (symbols), method names (e.g., "Mailbox/get"),
data types (e.g. "Mailbox"), or the special property error to handler functions.
- Each handler receives the invocation of the appropriate type.
- The error property, if present, will be called for error invocations.
OptionaldefaultHandler: HandlerFnOptional handler for invocations with no registered handler.
A promise that resolves when all handlers have been called.
The list of invocations (or errors) to manage.