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
send
A closure to dispatch an action.
sendAsCancellable
A closure to dispatch a cancellable action.
-
Declaration
Swift
@inlinable public func send(_ action: Action)
-
Declaration
Swift
@inlinable public func sendAsCancellable(_ action: Action) -> Cancellable