You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letreceiver=session.liveliness().get(key_expr,{timeout: seconds.of(20)});if(!(receiverinstanceofReceiver)){return// Return in case of callback get query}letreply=awaitreceiver.receive();
is unclear. The get may return undefined value if callback passed to the options. But in this example this never happens and it makes user wonder why this check is required.
Better to add e.g as Receiver to first let expression
The text was updated successfully, but these errors were encountered:
This piece of code
is unclear. The
get
may return undefined value if callback passed to the options. But in this example this never happens and it makes user wonder why this check is required.Better to add e.g
as Receiver
to firstlet
expressionThe text was updated successfully, but these errors were encountered: