Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Run ¶
type Run interface { ID() RunID Cancel(context.Context, string) error Summary(context.Context) (*apilang.RunSummary, error) ReturnLoad(context.Context, map[string]*apivalues.Value, error, *apilang.RunSummary) error ReturnCall(context.Context, *apivalues.Value, error) error Discard(context.Context) error }
type Runs ¶
type Runs interface { RunModule( _ context.Context, scope string, _ RunID, _ *apiprogram.Module, _ map[string]*apivalues.Value, _ SendFunc, ) (Run, error) CallFunction( _ context.Context, _ RunID, fn *apivalues.Value, args []*apivalues.Value, kws map[string]*apivalues.Value, _ SendFunc, ) (Run, error) Get(context.Context, RunID) (Run, error) List(context.Context) (map[string]map[RunID]bool, error) }
Click to show internal directories.
Click to hide internal directories.