class Exactly[A, E]
Invariant in A and E (each is taken and given back), so
matching a request's _persistable_types() pins its success and
error instead of widening them to what else they meet.
Functions#
pin#
pin(success, error) -> tuple[A, E]| Parameter | Type | Description |
|---|---|---|
success | A | |
error | E |
Returns tuple[A, E]
def pin(self, success: A, error: E) -> tuple[A, E]:
raise NotImplementedError