I really need to include some example on how to make this conversion in the docs, though. However,
WatchService
API is quite complex for a small example. Anyone has any idea of a simple blocking API that could be used as an example for blocking to non-blocking conversion for coroutines manual?