Skip to content

Update the type of thread-wait for its optional failure thunk. - #1531

Open
samth wants to merge 1 commit into
racket:masterfrom
samth:thread-wait-type
Open

samth wants to merge 1 commit into
racket:masterfrom
samth:thread-wait-type

Conversation

@samth

@samth samth commented Oct 5, 2026

Copy link
Copy Markdown
Member

thread-wait now accepts a thunk that produces the result when the thread fails, and separately can return the thread's results, so its result type is no longer Void.

`thread-wait` now accepts a thunk that produces the result when the
thread fails, and returns the thread's results, so its result type is
no longer `Void`.
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.

1 participant