Result

enum Result

Represents the outcome of an event publication.

Since

2.0.0

Entries

Link copied to clipboard

The event was successfully processed by at least one subscriber.

Link copied to clipboard

The event processing failed or was canceled.

Link copied to clipboard

No handlers were registered for this event type.

Functions

Link copied to clipboard
open fun triggered(): Boolean
Checks if the event was considered "triggered" (i.e., not canceled or failed).
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.