claim
Description:
public virtual SemaphoreClaim claim (int priority = DEFAULT, Cancellable? cancellable = null) throws Error
Synchronously acquire a claim
Parameters:
priority |
the priority with which to prepare the resource |
cancellable |
optional cancellable for aborting the opearation |