Sends out an OSC packet that generates some kind of reply, and returns immediately.
Sends out an OSC packet that generates some kind of reply, and
returns immediately. It registers a handler to parse that reply.
The handler is tested for each incoming OSC message (using its
isDefinedAt
method) and invoked and removed in case of a
match, completing the returned future.
If the handler does not match in the given timeout period,
the future fails with a Timeout
exception, and the handler is removed.
the packet to send out
the timeout duration
the handler to match against incoming messages
a future of the successfully completed handler or timeout exception