Documentation ¶
Index ¶
- func ReadScript(fn string) (string, error)
- type Engine
- func (e *Engine) GetProperties(symbol string) (map[string]any, error)
- func (e *Engine) HasInterface(symbol string) bool
- func (e *Engine) HasSequence(sequenceId string) bool
- func (e *Engine) InvokeOperation(symbol, name string, args []any) (any, error)
- func (e *Engine) LoadScript(name string, script string) (any, error)
- func (e *Engine) PlayAllSequences(ctx context.Context) error
- func (e *Engine) PlaySequence(ctx context.Context, sequenceId string) error
- func (e *Engine) SetProperties(symbol string, props map[string]any) error
- func (e *Engine) StopAllSequences()
- func (e *Engine) StopSequence(sequenceId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadScript ¶
Types ¶
type Engine ¶
type Engine struct { core.EventNotifier // contains filtered or unexported fields }
func NewEngine ¶
func NewEngine(store ostore.IObjectStore) *Engine
func (*Engine) GetProperties ¶
func (*Engine) HasInterface ¶
func (*Engine) HasSequence ¶
func (*Engine) InvokeOperation ¶
func (*Engine) PlayAllSequences ¶ added in v0.8.0
func (*Engine) PlaySequence ¶
func (*Engine) SetProperties ¶
func (*Engine) StopAllSequences ¶ added in v0.8.0
func (e *Engine) StopAllSequences()
func (*Engine) StopSequence ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.