initialize

fun initialize(context: Context)(source)

Requests sync without awaiting enqueue completion or remote persistence.

Matching unfinished work is kept; otherwise a new request is enqueued. New writes made after the active pass's pending snapshot need a later trigger, which is not guaranteed here.

Parameters

context

Context used to obtain WorkManager.