Skip to main content

main

Stentor API Reference


Stentor API Reference / stentor-runtime/src / main

Function: main()

main(requestBody, mainContext, callback, channels, dependencies, hooks?): Promise\<void>

Defined in: packages/stentor-runtime/src/main.ts:100

The main runtime loop for the assistant application.

Parameters​

requestBody​

object

mainContext​

RuntimeContext

callback​

RuntimeCallback

channels​

Channel[]

dependencies​

Dependencies

hooks?​

Hooks

Returns​

Promise\<void>