StateLocker(TLocker, TState).InLockAsync Method (Action(TState))

Tungsten Suite

StateLockerTLocker, TStateInLockAsync Method (ActionTState)

Asynchronously performs an action from within a lock, passing in the current state

Namespace:  W.Threading.Lockers
Assembly:  Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
Syntax
C#
public Task InLockAsync(
	Action<TState> action
)

Parameters

action
Type: SystemActionTState
The action to run

Return Value

Type: Task

[Missing <returns> documentation for "M:W.Threading.Lockers.StateLocker`2.InLockAsync(System.Action{`1})"]

Implements

IStateLockerTLocker, TStateInLockAsync(ActionTState)
See Also