SynchronousWorkContinuation

public interface SynchronousWorkContinuation

androidx.work.SynchronousWorkContinuation


Blocking methods for WorkContinuation operations. These methods are expected to be called from a background thread.

Summary

Public methods

abstract void enqueueSync()

Enqueues the instance of WorkContinuation in a synchronous fashion.

Public methods

enqueueSync

public abstract void enqueueSync ()

Enqueues the instance of WorkContinuation in a synchronous fashion. This method is expected to be called from a background thread and, upon successful execution, you can rely on that the work has been enqueued.