Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GojaRunnerV1 ¶
type GojaRunnerV1 struct {
// contains filtered or unexported fields
}
func (*GojaRunnerV1) Execute ¶
func (e *GojaRunnerV1) Execute(ctx context.Context, workflow runtimesRegistry.WorkflowDescriptor, startOptions runtimesRegistry.StartOptions) (runtimesRegistry.ExecutionResult, error)
func (*GojaRunnerV1) Introspect ¶
func (e *GojaRunnerV1) Introspect(ctx context.Context, workflow runtimesRegistry.WorkflowDescriptor, options runtimesRegistry.IntrospectionOptions) (runtimesRegistry.IntrospectionResult, error)
type NativeModule ¶
type NativeModule struct {
// contains filtered or unexported fields
}
NativeModule represents a native module that can be registered and used in the runtime.
func RegisterNativeAPI ¶
func RegisterNativeAPI(name string) *NativeModule
RegisterNativeAPI registers a new native API which could be bound to and used at run-time.
func (*NativeModule) RegisterNativeAPI ¶
func (module *NativeModule) RegisterNativeAPI(name string) *NativeModule
RegisterNativeAPI registers a new native API which could be bound to and used at run-time.
func (*NativeModule) RegisterNativeFunction ¶
func (module *NativeModule) RegisterNativeFunction(name string, fn func(ctx context.Context, binding runtimesRegistry.BindingSettings, jsContext JsContext, args ...interface{}) (interface{}, error))
RegisterNativeFunction registers a new native function which could be bound to and used at run-time.
Click to show internal directories.
Click to hide internal directories.