InterceptCommand

public enum InterceptCommand

A command that can be returned by a Interceptor intercept call that tells a TaskManager what it should do with a task before executing it.

  • Proceed with execution of the task

    Note

    This will cause all held tasks to be executed as well

    Declaration

    Swift

    case execute
  • Hold on to this task for now

    Declaration

    Swift

    case hold
  • Discard this task (throws it away)

    Declaration

    Swift

    case discard
  • Ignores hold and execute commands and executes the task

    Note

    This will cause all held tasks to be executed as well

    Declaration

    Swift

    case forceExecute