GitHub

WithLock

API reference for WithLock.

with_lock(store_id): runs an effect holding a store's lock.

Functions

__call__

__call__[A, E, R](effect) -> Effect[A, E, R]
ParameterTypeDescription
effectEffect[A, E, R]

Returns Effect[A, E, R]

def __call__[A, E, R](self, effect: Effect[A, E, R], /) -> Effect[A, E, R]: ...