Hi.
I want to update something depending with Meteor.connection._lastSessionId.
I tried
Tracker.autorun ->
unless Meteor.status().connected
return
something Meteor.connection._lastSessionId
# or
setTimeout ->
something Meteor.connection._lastSessionId
return
, 0
return
Both failed and I found that it needs 100ms delay of setTimeout to get a correct result.
Is there reactive _lastSessionId or a way to know updating _lastSessionId?