We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09fba3a commit 24e7cceCopy full SHA for 24e7cce
src/direct/lwt_direct.mli
@@ -44,7 +44,10 @@ val spawn : (unit -> 'a) -> 'a Lwt.t
44
45
When [f ()] terminates (successfully or not), the promise
46
[spawn f] is resolved with [f ()]'s result, or the exception
47
- raised by [f ()]. *)
+ raised by [f ()].
48
+
49
+ The promise returned by [spawn f] is not cancellable. Canceling it
50
+ will have no effect. *)
51
52
val spawn_in_the_background :
53
(unit -> unit) ->
0 commit comments