Documentation
¶
Overview ¶
Package async defines the canonical descriptor for generated asynchronous method execution.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsyncExecuteHandler ¶
AsyncExecuteHandler contributes generated asynchronous execution semantics.
func Execute ¶
func Execute() sdk.Definition
Execute marks a provider-owned method for generated asynchronous execution.
Spice validates the exact receiver, context, request, and error signature. Generated code owns cancellation, panic containment, bounded execution, and observability; the annotation never creates a hidden global worker pool.
// @import { Execute } from "github.com/spice-framework/spice/annotation/async"
// @Execute
func (*Mailer) Deliver(context.Context, Message) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.