Table of Contents

Interface IRaythaFunctionSemaphore

Namespace
Raytha.Application.Common.Interfaces
Assembly
Raytha.Application.dll
public interface IRaythaFunctionSemaphore

Methods

Release()

int Release()

Returns

int

WaitAsync(TimeSpan, CancellationToken)

Task<bool> WaitAsync(TimeSpan timeout, CancellationToken cancellationToken)

Parameters

timeout TimeSpan
cancellationToken CancellationToken

Returns

Task<bool>