Message when promise rejects and options
The message factory receives as first argument the error
of the promise and as second the error options.data
.
The message will be truncated if longer than 140 characters.
Optional
data: ErrorOptional
options?: Notification.IOptions<Error>Promise pending message and options
The message will be truncated if longer than 140 characters.
Optional
options?: Notification.IOptions<Pending>Message when promise resolves and options
The message factory receives as first argument the result
of the promise and as second the success options.data
.
The message will be truncated if longer than 140 characters.
Optional
data: SuccessOptional
options?: Notification.IOptions<Success>
Parameters for notification depending on a promise.