File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -496,7 +496,8 @@ The `AsyncOption[T]` type is the asynchronous version of `Option`. It allows you
496496compose asynchronous operations that may return an optional value, using the Option type.
497497This is particularly useful for handling optional values in asynchronous code, such as
498498API calls that might not return a value, database queries that might not find a record,
499- or any other I/O-bound tasks that might not produce a meaningful result.
499+ or any other I/O-bound tasks that might not produce a meaningful result. The AsyncOption
500+ builder was added in version 0.25.0.
500501
501502Similar to the ` Option ` effect, AsyncOption enables short-circuiting but for asynchronous
502503operations. If any part of the function yields ` Nothing ` , the function is short-circuited
Original file line number Diff line number Diff line change @@ -546,7 +546,8 @@ async def outer() -> AsyncGenerator[int, int]:
546546compose asynchronous operations that may return an optional value, using the Option type.
547547This is particularly useful for handling optional values in asynchronous code, such as
548548API calls that might not return a value, database queries that might not find a record,
549- or any other I/O-bound tasks that might not produce a meaningful result.
549+ or any other I/O-bound tasks that might not produce a meaningful result. The AsyncOption
550+ builder was added in version 0.25.0.
550551
551552Similar to the `Option` effect, AsyncOption enables short-circuiting but for asynchronous
552553operations. If any part of the function yields `Nothing`, the function is short-circuited
You can’t perform that action at this time.
0 commit comments