Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
taylanisikdemir committed Dec 16, 2024
1 parent 285bb16 commit fe3d46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cadstar/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ type RunInfo struct {
}

// IPlugin plugin factory interface
// Plugin instances are created on startup and are used to create starlark.Value instances per workflow execution
type IPlugin interface {
// ID returns unique plugin identifier
ID() string
Expand All @@ -21,6 +22,5 @@ type IPlugin interface {
// e.g. ID = random, the plugin will be accessible as random.randint()
Create(info RunInfo) starlark.Value
// Register registers Cadence activities if any used by the plugin.
// Deprecated: Cadence activities have different lifecycle, register them separately, outside the plugin's code.
Register(registry worker.Registry)
}

0 comments on commit fe3d46c

Please sign in to comment.