// Command semaphore is the Semaphore connector: each job template an operator // declares becomes one action, with the effect the operator declares for it, // so judgement decides on the template's effect rather than on its name. A // launch carries Archie's idempotency key, so a resumed run finds the task it // already started instead of launching another. package main import "github.com/samcharles93/archipelago/sdk/connector" func main() { connector.Serve(func(cfg connector.Config) (connector.Connector, error) { return newSemaphore(cfg) }) }