Event subscription like On Playback Tick

I want to replicate the behavior of the OmniGraph node “On Playback Tick” inside an Omniverse extension (not OmniGraph related). The handler should be called on each tick only when playback is active. How would I implement that? I have seen the subscriptions described here: Event streams — kit-manual 104.0 documentation

But I am not sure if that is the right thing to use. For example, it does not seem to take the playback state into consideration.


@bruno.vetter i am just another user, but i think the information by @mati-nvidia could be useful:

Thanks @Simplychenable,

what I currently do is to check for the timeline status each call on_update() and return if it is not “play”.