test
Inspection method. If Context.asyncContext is non-null, periodically check AsyncContext.isInterrupted and return early when true to support cooperative cancellation.
When Context.isAsync returns true, this method is invoked off the main thread. Avoid calling Bukkit API that requires the main thread directly; use a scheduler (e.g. FoliaLib) if main-thread access is needed.
Return
Boolean Result of inspection
Since
5.0.17
Parameters
ctx
Context of inspection