github.com/df-mc/dragonfly@v0.9.13/server/event/doc.go (about) 1 // Package event exposes a single exported `Context` type that may be used to influence the execution flow of events 2 // that occur on a server. 3 // Generally, the caller of `event.C()` calls `Context.Cancelled()` to check if the `Context` was cancelled (using 4 // `Context.Cancel()`) by whatever code it was passed to. 5 // who is then able to cancel it by calling `Context.Cancel()`. 6 package event