Skip to content

Interface: RuntimeService

Defined in: src/airs/types.ts:49

Contract for runtime scanning operations (sync + async).

Methods

pollResults()

pollResults(scanIds, intervalMs?): Promise\<RuntimeScanResult[]>

Defined in: src/airs/types.ts:55

Poll async scan results until all complete.

Parameters

scanIds

string[]

intervalMs?

number

Returns

Promise\<RuntimeScanResult[]>


scanPrompt()

scanPrompt(profileName, prompt, response?): Promise\<RuntimeScanResult>

Defined in: src/airs/types.ts:51

Scan a single prompt (and optional response) synchronously.

Parameters

profileName

string

prompt

string

response?

string

Returns

Promise\<RuntimeScanResult>


submitBulkScan()

submitBulkScan(profileName, prompts): Promise\<string[]>

Defined in: src/airs/types.ts:53

Submit prompts for async bulk scanning, returns scan IDs.

Parameters

profileName

string

prompts

string[]

Returns

Promise\<string[]>