The runtime block on a deployment and on defineWorkflow. A workflow that
declares none inherits its deployment's kind, and a deployment that declares
none hosts on 'function'. Authoring-only: the deploy strips it and stores
nothing.
It is a hint to the generator and to callers, never a rule the engine
enforces. The engine never sees it: any engine built anywhere with a handler
for an effect drains that effect when it calls drainEffects, whatever kind
the node declares, so a 'selfHosted' effect is drained by whoever registers
its handler, the Studio included.
The
runtimeblock on a deployment and ondefineWorkflow. A workflow that declares none inherits its deployment's kind, and a deployment that declares none hosts on'function'. Authoring-only: the deploy strips it and stores nothing.It is a hint to the generator and to callers, never a rule the engine enforces. The engine never sees it: any engine built anywhere with a handler for an effect drains that effect when it calls
drainEffects, whatever kind the node declares, so a'selfHosted'effect is drained by whoever registers its handler, the Studio included.