Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class SomePresenterOrViewModelEtc(private val api: GraphQLApi) {
// ...
fun sunscribeToMessages() {
val messagesSubscription = OnNewMessagesReceivedSubscription.builder()
// handle results, like adding the result into a list
}, {
// handle errors
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment