I am only starting to learn the SDK, myself, so I don’t know what I’m talking about right now.
But there is a Wishlist topic for fences, so it doesn’t sound like there’s a good way to do it. But I will happily stand corrected. In the meantime, you may wish to vote for this:
1 Like