MCPcopy
hub / github.com/pocketbase/pocketbase / Event

Struct Event

tools/hook/event.go:25–27  ·  view source on GitHub ↗

Event implements [Resolver] and it is intended to be used as a base Hook event that you can embed in your custom typed event structs. Example: type CustomEvent struct { hook.Event SomeField int }

Source from the content-addressed store, hash-verified

23// SomeField int
24// }
25type Event struct {
26 next func() error
27}
28
29// Next calls the next hook handler.
30func (e *Event) Next() error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected