mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-10 05:40:06 +00:00
refactor(poll-job-state): updated types and func attributes
This commit is contained in:
9
src/types/PollOptions.ts
Normal file
9
src/types/PollOptions.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export interface PollOptions {
|
||||
maxPollCount: number
|
||||
pollInterval: number // milliseconds
|
||||
pollStrategy?: PollStrategy
|
||||
streamLog?: boolean
|
||||
logFolderPath?: string
|
||||
}
|
||||
|
||||
export type PollStrategy = PollOptions[]
|
||||
Reference in New Issue
Block a user