everblocking-stream

2018-10-18

A stream that always blocks and never has data available.

Upstream URL

github.com/phoe/everblocking-stream

Author

Michał "phoe" Herda <phoe@disroot.org>

License

Public domain
README

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.

Dependencies (1)

  • trivial-gray-streams

Dependents (0)

    • GitHub
    • Quicklisp