GitHub

Provides

API reference for Provides.

class Provides[S, T]

A tag class as a layer providing it sees it: the shape S and the tag T itself, exactly. TagLike reads T covariantly (and a Reference as Never), so with an expected Layer[Db] pyright solved layer.succeed(Other, x) as Layer[Db | Other] and accepted it (research/typing/layer_1_widening.py).

Functions

__call__

__call__() -> TagEffect[S, Any, T]

Returns TagEffect[S, Any, T]

def __call__(self) -> TagEffect[S, Any, T]: ...