Skip to content

//core/com.petersamokhin.vksdk.core.client/VkApiClientFlows

VkApiClientFlows

[common]\ class VkApiClientFlows : CoroutineScope

Coroutines Flow wrapper of the VK API client

Functions

Name Summary
clear [common]
fun clear()
onBatchRequestResult [common]
@FlowPreview()
@ExperimentalCoroutinesApi()
fun onBatchRequestResult(): Flow<BatchRequestResult>
Handle each batch request result
onEachEvent [common]
@ExperimentalCoroutinesApi()
fun onEachEvent(): Flow<RawEvent>
Handle each event in flow.
onMessage [common]
@ExperimentalCoroutinesApi()
fun onMessage(): Flow<MessageNew>
Handle each message_new event in flow

Properties

Name Summary
coroutineContext [common]
open override val coroutineContext: CoroutineContext