Questions on perspective component message handler

  1. notice the onMessageReceived() runs twice in session (but run only once when triggered in designer):
    the test code is logging an info to gateway log:"query good: " + str(i))
    see twice on each event as below

  2. looks like onMessageReceived() triggers a thread on gateway, how does this thread communicate with session, is it http request and using call back? want to know this because if i run a long script in onMessageReceived(), will the session be frozen?

My bad, the view duplicates on the session… it is resolved.

1 Like