Skip to content

PosSharp.Core.UposDeviceBase.OnClaimAsync(int,System.Threading.CancellationToken)

github-actions[bot] edited this page May 8, 2026 · 5 revisions

PosSharp v1.2.0 API Reference


UposDeviceBase.OnClaimAsync(int, CancellationToken) Method

Called by ClaimAsync(int, CancellationToken) to perform device-specific claim logic.

protected abstract System.Threading.Tasks.Task OnClaimAsync(int timeout, System.Threading.CancellationToken ct);

Parameters

timeout System.Int32

Timeout in milliseconds.

ct System.Threading.CancellationToken

Cancellation token.

Returns

System.Threading.Tasks.Task
A task representing the asynchronous operation.

Clone this wiki locally