Codex App
通过 TypeDoc 和 typedoc-plugin-markdown 生成。
Defined in: index.d.ts:72
Minimal Codex app that dispatches the notify event to a registered handler.
Constructors
Constructor
> new CodexApp(): CodexApp
Defined in: index.d.ts:76
Creates a Codex runtime app with no registered handlers.
Returns
CodexApp
Methods
onNotify()
> onNotify(handler): this
Defined in: index.d.ts:80
Registers a handler for the Codex notify event.
Parameters
handler
CodexHandler
Returns
this
run()
> run(): number
Defined in: index.d.ts:84
Dispatches the current process invocation and returns the exit code.
Returns
number