(self: Shape)
| 104 | export interface Service<in out Identifier, in out Shape> extends Key<Identifier, Shape> { |
| 105 | of(this: void, self: Shape): Shape |
| 106 | context(self: Shape): Context<Identifier> |
| 107 | use<A, E, R>(f: (service: Shape) => Effect<A, E, R>): Effect<A, E, R | Identifier> |
| 108 | useSync<A>(f: (service: Shape) => A): Effect<A, never, Identifier> |
| 109 | } |
no outgoing calls