You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
"Any attempt to consume messages from a drained channel will return false." But when I run the examples locally, I get true. Not sure if it's me, the wiki, or "other" with the problem:
"..if there are no messages queued up in the channel when close is called, a final nil message will be enqueued. All functions which operate on channels ignore this trailing nil." I might be missing something here, but:
Those two might be different views of the same question, not sure.
The constant-channels section might use a mention that you'd presumably never use receive-all w/ a constant-channel, since only one message gets taken, as receive does in normal cases. Or maybe some other explanation if I'm missing something :)
Should the poll-result namespace (I assume lamina.core.pipeline get used here? In general, this one was a bit harder to follow because of the abstract examples. I might be abnormal in wanting to type everything in and play with it, but that'd be cool.
The receive return value is a regression I wasn't testing for. Thanks for catching that.
'receive' and 'receive-all' are equivalent for constant channels, but it's fine to use either.
The pipeline wiki needs to be reworked, I think. With (async ...) to support the simpler workflows, I think it will be more targeted to people wanting a more specific or higher performance implementation.
And the async programming wiki is just half-finished. I'll get around to it soon.
The code examples are using Clojure 1.2 and lamina-0.4.0-beta2.jar (running out of a recent Aleph checkout).
From the Channels wiki:
false
." But when I run the examples locally, I gettrue
. Not sure if it's me, the wiki, or "other" with the problem:nil
message will be enqueued. All functions which operate on channels ignore this trailing nil." I might be missing something here, but:Those two might be different views of the same question, not sure.
receive-all
w/ aconstant-channel
, since only one message gets taken, asreceive
does in normal cases. Or maybe some other explanation if I'm missing something :)From the Pipelines wiki
poll-result
namespace (I assumelamina.core.pipeline
getuse
d here? In general, this one was a bit harder to follow because of the abstract examples. I might be abnormal in wanting to type everything in and play with it, but that'd be cool.From the Async Programming wiki
Awesome stuff
Seriously man, it's been a joy to read through these docs. As you know, most OSS doesn't have docs anywhere near this good :)
The text was updated successfully, but these errors were encountered: