Louis Pilfold

Results 761 comments of Louis Pilfold

All functionality must support both targets, aye

For errors not to propagate you'll need to make the process that spawns the task to trap exits. I agree though, this API is a bit confusing, I'm not sure...

Sounds like there's no clear use for this function. Trapping exits is not something one should do unless you're implementing a supervisor, and will cause all sorts of problems if...

Any functions that require the user to enable trapping exits should be removed. I think that is only `try_await_forever` as `try_await` returns an error in the case of a timeout.

A crash is supposed to crash the calling process, Task is not an exception catching system, that's what supervisors are for.

We have decided on Discord to rewrite the Task module using the Elixir one as a reference.

Gleam uses structural equality and hashing except for a few known mutable JS data structures, which get special cased. We should document this behaviour for JS objects which are the...

That would be great, thank you @mooreryan !

Could you expand on that a little please? You import it like any other file.