Class AwaitableIntent<T>
- Namespace
 - Nalu
 
- Assembly
 - Nalu.Maui.Navigation.dll
 
Base class for intents that can be awaited.
public abstract class AwaitableIntent<T>
  Type Parameters
TThe result type.
- Inheritance
 - 
      
      AwaitableIntent<T>
 
- Inherited Members
 
Methods
GetAwaiter()
Gets an awaiter to await this AwaitableIntent<T>.
public TaskAwaiter<T> GetAwaiter()
  Returns
- TaskAwaiter<T>
 
SetException(Exception)
Transitions the intent into a failed state with the given exception. This will cause the awaiter to throw the exception when awaited.
public void SetException(Exception ex)
  Parameters
exException
SetResult(T)
Sets the result of the intent.
public void SetResult(T result)
  Parameters
resultT