Stream: ideas

Topic: rename `Task.seq`?


view this post on Zulip Anton (Jun 25 2024 at 14:30):

I don't think I could guess what Task.seq does based on the name alone. So I'd like to explore some other options and see what people think:

view this post on Zulip Anton (Jun 25 2024 at 14:30):

Task.chainAwait

view this post on Zulip Anton (Jun 25 2024 at 14:30):

Task.walkAwait

view this post on Zulip Anton (Jun 25 2024 at 14:30):

Feel free to suggest your own!

view this post on Zulip Anton (Jun 25 2024 at 14:32):

Sidenote: I don't think the function will be used so often that we need to prioritize minimal length of the name.

view this post on Zulip Agus Zubiaga (Jun 25 2024 at 14:38):

I agree we don’t need to shorten it

view this post on Zulip Agus Zubiaga (Jun 25 2024 at 14:38):

I think Task.sequence is descriptive enough, though. It creates a task sequence from a list.

view this post on Zulip Agus Zubiaga (Jun 25 2024 at 14:40):

chainAwait or walkAwait sound to me more like what loop does (where you control each step)


Last updated: Jun 16 2026 at 16:19 UTC