Wrong context example in the documentation

we want to send events from contexts to other monitors. Therefore we tried as the example from the documentation on page 268 (Sending events to monitors in a specific context, continued).
But it does not work. The ‘on all event’ in the other monitor does not get triggered.

The problem is, that the private context cannot enqueue events to the main context which is public. When we open the view “Engine Status” we see a large number of events on input queue. But the other monitor which waits on the events does not get them.

Note: The example code in 168 was probably not tested. Because the variable c in the action onload is not visible for the action calculate Position. This example would not run.

Best regards

I can’t find that section in our doc, would you be able to tell us what version of the software you’re using, and the exact set of headings for that section

As for contexts, if you spawn a new context but want it to send events back to you, you would generally do that by passing your the context object to the new context when spawning, or by publishing to a known channel name and having your monitor.subscribe() to that channel