invoke

abstract suspend operator fun invoke(resource: I, requestCallback: RequestCallback): O?

Response handler for coroutine contexts which need to observe LoadState

Return

resource fetched if present

Parameters

resource

awaiting execution

requestCallback

for the deferred result