Robert Jaros
09/18/2024, 10:42 AMsendToQueue(Queued.HandleInput(null, MyContract.MyInput(...))). Is this correct? What is the first parameter of HandleInput - val deferred: CompletableDeferred<Unit>?. Is passing null ok?Casey Brooks
09/18/2024, 2:50 PMnull in the Queued. sendToQueue() only suspends if the channel's buffer is full, but the Deferred will suspend and only be completed once the Input has been fully processed (once the InputHandler has returned). It is equivalent to the difference between vm.send() and vm.sendAndAwaitCompletion()