Skip to main content

Interface: RuntimeService

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

Contract for runtime scanning operations (sync + async).

Methods

pollResults()

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

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

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:59

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:61

Submit prompts for async bulk scanning, returns scan IDs.

Parameters

profileName

string

prompts

string[]

Returns

Promise<string[]>