App
is a codebase deployed on Kernel. You can deploy any codebase in Typescript or Python on Kernel.
An Action
is an invokable method within an app. Actions allow your to register entry points or functions that can be triggered on-demand. Actions can call non-action methods. Apps can have multiple actions.
An Invocation
is a single execution of an action. Invocations can be triggered via API, scheduled as a job, or run on-demand.
runtimeContext
: Contextual information provided by Kernel during executionpayload
: Optional runtime data that you provide when invoking the action. Read morecontexts()[0]
and pages()[0]
), rather than trying to create a new one.