Sven Slootweg 4 years ago
parent b0657521fe
commit 9b1d2ec22c

@ -23,7 +23,7 @@ function takeBuffer() {
This library is just a simple abstraction, that turns that into:
let bufferedValue;
let bufferedValue = consumable();
// ... some code ...
@ -36,6 +36,8 @@ function takeBuffer() {
... with some extra internal checks in place to throw an error when a value is unexpectedly missing.
## License, donations, and other boilerplate
Licensed under either the [WTFPL]( or [CC0](, at your choice. In practice, that means it's more or less public domain, and you can do whatever you want with it. Giving credit is *not* required, but still very much appreciated! I'd love to [hear from you]( if this module was useful to you.