enqueue

abstract fun enqueue(callback: Callback<T>)

Deprecated

Use suspending await() instead.

Schedules the request to be executed at some point in the future.

Parameters

callback

a callback to invoke on completion