3 ms·
I've enjoyed working with core.async once I understood these constraints. It would be nice for code to "know" whether it's within a go block or not. That would
by bkirkbri 13y ago
I've enjoyed working with core.async once I understood these constraints. It would be nice for code to "know" whether it's within a go block or not. That would alleviate needing do-something! and do-something!! versions of some functions.
By "know" I mean something like an in-go earmuff var.
EDITED for clarification and formatting
- masklinn 13y ago> It would be nice for code to "know" whether it's within a go block or not. Part of it obviously does since `<!` can't be called outside of a go block. And cljs has somewhat less of an issue there as it does not have `<!!` (since without extension the language has very little allowances for blocking)