ILockApi Interface |
Namespace: Casewhere.Runtime.DSL.Api
public interface ILockApi
The ILockApi type exposes the following members.
var lockApi = ctx.Use<ILockApi>(); lockApi.Lock(lockId, waitingTime, expiredTime); // do lock logic lockApi.Release(lockId);