roRSA won't run in a Scene or a Task. However, it should work in the Main() thread. In Main(), set up a field observer using a port to listen for changes in some global variable that you can set in your Scene or Task. You should be able to use roRSA in that event-handler, which in turn can set some other global variable to pass the result back to your Scene or Task. I haven't tried this, so I'm just speculating, but I think it's worth a try.