ActionDispatcherProxy
public struct ActionDispatcherProxy : ActionDispatcher
A concrete ActionDispatcher that can acts as a proxy.
-
Initiate a new BlockActionDispatcher.
Declaration
Swift
public init(send: @escaping SendAction, sendAsCancellable: @escaping SendCancellableAction)Parameters
sendA closure to dispatch an action.
sendAsCancellableA closure to dispatch a cancellable action.
-
Declaration
Swift
@inlinable public func send(_ action: Action) -
Declaration
Swift
@inlinable public func sendAsCancellable(_ action: Action) -> Cancellable
View on GitHub
ActionDispatcherProxy Structure Reference