Results 138 comments of Brian Kim

I considered using a proxy-based API, but I typically try to avoid proxies because I dislike metaprogramming, and didn’t see what the clear benefits would be. For instance, I am...

@akaRem I’m more inclined to keep them in separate packages, because the repeater API is more or less stable. In its current form, I like to think the repeater API...

> What are your thoughts on using modern async iteration to create an alternative EventEmitter with similar capabilities? Thank you for checking out repeaters, and thanks for the question. My...

Initial attempts to do this have revealed that typedoc support for packages/workspaces/monorepos is mostly trash/outdated. Might have to write my own plugin, might just avoid typedoc for now.

@n1ru4l This is one of those issues I’ve been thinking about on and off this late, wretched year. I do think there’s something aesthetically pleasing about keeping the repeater open...

Is that the typescript definition? I’m pretty sure `return` accepts `PromiseLike` parameters: https://github.com/microsoft/TypeScript/blob/master/lib/lib.es2018.asynciterable.d.ts#L32-L37 If you call `return` with a promise-like it will await the argument. It’s a weird thing that...

Yeah I haven’t really written any documentation for those packages which are mostly experimental (`0.x`). There is this page: https://repeater.js.org/docs/utilities. The reason is that I’m not entirely sure what the...

@n1ru4l What are the reasons we can’t use `static` methods? They were added in “ES6,” before async iteration even, so I’m not sure what sort of environment removing static methods...

I am almost down for this. However: 1. There are multiple libraries that do array-like iterator/async iterator functions. * https://github.com/tc39/proposal-iterator-helpers * https://github.com/jamiemccrindle/axax * https://github.com/fitzgen/wu.js/ Could we use these libraries instead?...

> Also, I think while at util functions we should add ones for converting async generators to channels and vice versa. If we adhere to the “no differences between async...