Initialising Blocks


#1

Hi, is there anything that needs to be done to initialise the Blocks API?

I have a class derived from TopologySource::Listener() and have a listener registered but it never gets called. I’ve looked the demo code and there doesn’t seem to by anything the explicitly initialises Blocks but the callback executes fine there.

thx


#2

No need to initialize the Blocks API, the callback should be called as soon as a Block is connected or the topology changes.


#3

yeah, thx - my bad, I still had the demorunner running which obv had control of the block