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.
Fiber.FLS.create
1 parent f79755a commit 52b92bfCopy full SHA for 52b92bf
lib/picos/picos.mli
@@ -996,11 +996,8 @@ module Fiber : sig
996
with fibers. *)
997
998
val create : unit -> 'a t
999
- (** [new_key initial] allocates a new key for associating values in storage
1000
- associated with fibers. The [initial] value for every fiber is either
1001
- the given {!Constant} or is {!Computed} with the given function. If the
1002
- initial value is a constant, no value needs to be stored unless the
1003
- value is explicitly updated.
+ (** [create ()] allocates a new key for associating values in storage
+ associated with fibers.
1004
1005
⚠️ New keys should not be created dynamically. *)
1006
0 commit comments