AwaitComponent
public final class AwaitComponent : ActionComponent, Cancellable
A component that handles Await action’s.
-
Delegates
PresentableComponent
‘s presentation.Declaration
Swift
public weak var presentationDelegate: PresentationDelegate?
-
The Component UI style.
Declaration
Swift
public let style: AwaitComponentStyle
-
Initializes the
AwaitComponent
.Declaration
Swift
public convenience init(apiContext: APIContext, style: AwaitComponentStyle?)
Parameters
apiContext
The API context.
style
The Component UI style.
-
Handles await action.
Declaration
Swift
public func handle(_ action: AwaitAction)
Parameters
action
The await action object.