Skip to content

NotifyResult

Type

The NotifyResult<T> type is the default type used for the callback mechanism for notify. It is a standard library union type with members NotifySuccess<T>, containing a payload result of type T, and another member NotifyFailure.

Typically NotifyResult<T> is not constructed in the language directly.

Inherited methods

toText

<function> Obtain the Text representation of this.

Receiver

T

Type Arguments

T

Returns

Text - the Text representation of this

Usage

Converts a NotifyResult<T> to Text.