Parameters for notification depending on a promise.
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.
options.data
The message will be truncated if longer than 140 characters.
Promise pending message and options
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.
Parameters for notification depending on a promise.