A stream that always blocks and never has data available.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
everblocking-stream.asd
everblocking-stream.lisp

README.md

EVERBLOCKING-STREAM

(make-instance 'everblocking-stream:everblocking-stream)

The created stream returns NIL on calls to CL:LISTEN, CL:READ-CHAR-NO-HANG and CL:CLEAR-INPUT, and blocks on CL:READ-CHAR, CL:READ-LINE and CL:PEEK-CHAR.

Usage: mocking streams belonging to inactive network sockets for testing purposes.

License

Public domain.