Skip to content

CanExecute Method ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.Concurrency.dll

bool CanExecute() ​

csharp
bool CanExecute()

Determines whether a new request can likely be executed without waiting.

Returns ​

true if a new request can likely be executed; otherwise, false.

Remarks ​

This is a non-blocking, best-effort probe. Under concurrency another caller may admit before you act on a true result. Use EnqueueRequest or EnqueueRequestAsync when admission must be enforced.