Asynchronous access to stdin. The constructor is private to ensure that access is provided only via an environment.
Reading from stdin is done by registering an
Note: For reading user input from a terminal, use the term package.
- AsioEventNotify tag
Set the notifier. Optionally, also sets the chunk size, dictating the maximum number of bytes of each chunk that will be passed to the notifier.
Clear the notifier in order to shut down input.