MCPcopy
hub / github.com/TecharoHQ/anubis / Handler

FuncType Handler

internal/actorify/actorify.go:23–23  ·  view source on GitHub ↗

Handler is a function alias for the underlying logic the Actor should call.

func(ctx context.Context, input Input) (Output, error)

Source from the content-addressed store, hash-verified

21
22// Handler is a function alias for the underlying logic the Actor should call.
23type Handler[Input, Output any] func(ctx context.Context, input Input) (Output, error)
24
25// Actor is a serializing wrapper that runs a function in a background goroutine.
26// Whenever the Call method is invoked, a message is sent to the actor's inbox and then

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected