WorldOperation
A non-blocking world lifecycle operation completed on the main server thread.
Bedriox\Api\World\WorldOperation
interfaceBedriox\Api\World
Public methods
type(): Bedriox\Api\World\WorldOperationTypeTyped public method.
worldId(): stringTyped public method.
state(): Bedriox\Api\World\WorldOperationStateTyped public method.
result(): ?Bedriox\Api\World\WorldOperationResultTyped public method.
onComplete(Closure $callback): voidRegisters a main-thread completion callback, invoked exactly once and never inline.
cancel(): boolReturns true only when queued work was cancelled before committing world state.
