Skip to content

Conversation

fhammerschmidt
Copy link
Member

  • mapOkAsync
  • mapErrorAsync
  • flatMapOkAsync
  • flatMapErrorAsync

Also fixed some other tests in the result module but to test async stuff we might need some detection for await expressions in order to wrap them in an async context automatically.

@fhammerschmidt fhammerschmidt requested a review from zth September 19, 2025 12:39
Copy link
Member

@zth zth left a comment

Choose a reason for hiding this comment

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

Great stuff!

@fhammerschmidt fhammerschmidt enabled auto-merge (squash) September 19, 2025 12:59
Copy link

pkg-pr-new bot commented Sep 19, 2025

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7906

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7906

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7906

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7906

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7906

@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@7906

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7906

commit: 72fa0fa

@fhammerschmidt fhammerschmidt merged commit 51e0708 into master Sep 19, 2025
25 checks passed
@fhammerschmidt fhammerschmidt deleted the async-result-helpers branch September 19, 2025 13:18
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.

2 participants