Skip to content
Registry

hello-node

v0.1.2

Minimal Node worker — hello-node::greet returns a greeting and fires hello-node::greeted.

license: Apache-2.0examplenode

Install

bash
iii trigger compose::add worker=hello-node

Run in your project with the iii engine running. Exact versions are immutable and digest-pinned.

Functions2

hello-node::greet

Function

Return a greeting for `name` and fire hello-node::greeted.

Request
  • namestringrequired

    Who to greet

Response
  • messagestringrequired

hello-node::stats

Function

How many greetings this worker answered since it started.

Request
Empty object
Response
  • greetedintegerrequired

    Greetings answered

Triggers1

hello-node::greeted

Trigger

Fires after hello-node::greet answers, with the greeting.

Invocation
  • namestring

    Only fire for greetings to this name.

Return
  • messagestringrequired
  • namestringrequired

Search the registry

Find workers, kits and executables, or jump to a page.