Struct SessionResult
public readonly record struct SessionResult : IEquatable<SessionResult>
- Implements
- Inherited Members
Constructors
SessionResult(SessionError)
public SessionResult(SessionError Error)
Parameters
ErrorSessionError
Properties
Error
public SessionError Error { get; init; }
Property Value
Ok
public static SessionResult Ok { get; }
Property Value
Pending
public bool Pending { get; init; }
Property Value
Succeeded
public bool Succeeded { get; }
Property Value
Waiting
public static SessionResult Waiting { get; }
Property Value
Methods
Fail(SessionError)
public static SessionResult Fail(SessionError error)
Parameters
errorSessionError