Skip to content

no events raised after setting up connection (question / help request) #212

Answered by enisdenjo
samthomson asked this question in Q&A
Discussion options

You must be logged in to vote

The library is in lazy mode by default; meaning, it connects on demand (connect on first subscribe and disconnect on last unsubscribe). For you to get those logs as is, you have to subscribe or execute a GQL operation with the client.

If you want the client to connect as soon as you create it, use the lazy: false option.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by samthomson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #211 on July 13, 2021 15:02.