Open semmel opened 6 months ago
Hey, @semmel. I don't think there's a reason--probably just an oversight. Sorry for the surprise. We'd happily accept a PR to curry it 😄
It may be a good idea to start brainstorming what a 2.0 might look like now that we have something deferred there. Maybe we should create an issue dedicated to it so we can discuss our ideas?
Some off-the-cuff ideas I have:
Disposable
type, pretty minor change, but breakingAsyncDisposable
ES interface, fairly large change, but I have a number of usecases which rely on this behavior now, mostly undoing failures.E
parameter to explicitly track error typesR
parameter to allow tracking the context a Stream is running withinI created a discussion so we can have some amount of threading and such for conversation - https://github.com/mostjs/core/discussions/680
Apart from
runEffects
,at
seems to be the only (n>1)-ary function which is not auto-curried.I find that surprising. Is there a reason for it?