InternalTaskHubResult

public protocol InternalTaskHubResult
  • subscribe(resultListener:) Default implementation

    Default Implementation

    Subscribe to channel on Hub for result

    Declaration

    Swift

    func subscribe(resultListener: @escaping ResultListener) -> UnsubscribeToken

    Parameters

    resultListener

    result listener

    Return Value

    unsubscribe token

  • dispatch(result:) Default implementation

    Default Implementation

    Dispatch result to Hub channel

    Declaration

    Swift

    func dispatch(result: TaskResult)

    Parameters

    result

    result