Skip to content

Conversation

Daniel-Shunom
Copy link
Contributor

This PR hopes to resolve #108 and improve the documentation for actor.start

Additionally, I added the missing actor.set_timeout to the library, as brought to light by @lpil in the same issue.

builder: Builder(state, message, return),
) -> Builder(state, message, return) {
Builder(..builder, initialisation_timeout: timeout)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, sorry, I have made a mistake. This isn't needed as the new_with_initialiser function takes the timeout as an argument.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries! I'll take that out then.

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I can publish just the docs as an update without doing a full release, that way it'll fix the older version too 🎉

@lpil lpil merged commit e93bde7 into gleam-lang:main Aug 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

actor.start has confusing documentation

2 participants