Unlimited
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Unlimited.type
Members list
Type members
Classlikes
Value members
Concrete methods
Present a non-empty list of resources A
as an unlimited supply of "borrowed" resources A ⊗ Ā
, where Ā
is the dual of A
. A borrowed resource A ⊗ Ā
must be "returned" by "annihilating" A
and its dual Ā
, namely via an inversion on the right A ⊗ Ā -⚬ One
. A returned resource will become available for further use when it signals readiness using the Signaling.Positive instance.
Present a non-empty list of resources A
as an unlimited supply of "borrowed" resources A ⊗ Ā
, where Ā
is the dual of A
. A borrowed resource A ⊗ Ā
must be "returned" by "annihilating" A
and its dual Ā
, namely via an inversion on the right A ⊗ Ā -⚬ One
. A returned resource will become available for further use when it signals readiness using the Signaling.Positive instance.
When all accesses to the pooled resources (obtained via the Unlimited[A |*| Ā]
in the first out-port) are closed, the resources are returned in the second out-port.