An open API service indexing awesome lists of open source software.

https://github.com/phoe/everblocking-stream

A stream that always blocks and never has data available.
https://github.com/phoe/everblocking-stream

Last synced: 4 months ago
JSON representation

A stream that always blocks and never has data available.

Awesome Lists containing this project

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.