phasync
Claim / available

Method

Claim::available

Whether nobody holds the name now; nothing is claimed.

Description#

public Claim::available(): bool

Another worker may take the name before the caller acts on the answer: use Claim::acquire to take it.

Return values#

bool

See also#

  • Claim::heldWhether this handle holds the name: it was acquired and not released.