FIRStorageTaskManagement

@protocol FIRStorageTaskManagement <NSObject>

Defines task operations such as pause, resume, cancel, and enqueue for all tasks. All tasks are required to implement enqueue, which begins the task, and may optionally implement pause, resume, and cancel, which operate on the task to pause, resume, and cancel operations.

  • Prepares a task and begins execution.

    Declaration

    Objective-C

    - (void)enqueue;
  • Pauses a task currently in progress.

    Declaration

    Objective-C

    - (void)pause;
  • Cancels a task currently in progress.

    Declaration

    Objective-C

    - (void)cancel;
  • Resumes a task that is paused.

    Declaration

    Objective-C

    - (void)resume;