Files
mc/server/event/doc.go
T
TarnaWijaya 26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
up3
2026-07-09 08:33:57 +08:00

7 lines
395 B
Go

// Package event exposes a single exported `Context` type that may be used to influence the execution flow of events
// that occur on a server.
// Generally, the caller of `event.C()` calls `Context.Cancelled()` to check if the `Context` was cancelled (using
// `Context.Cancel()`) by whatever code it was passed to.
// who is then able to cancel it by calling `Context.Cancel()`.
package event