1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-06-10 10:50:20 +00:00

refactor(poll-job-state): updated types and func attributes

This commit is contained in:
Yury Shkoda
2023-05-17 11:16:35 +03:00
parent 5c74186bab
commit f484a5a6a1
8 changed files with 123 additions and 141 deletions
+9
View File
@@ -0,0 +1,9 @@
export interface PollOptions {
maxPollCount: number
pollInterval: number // milliseconds
pollStrategy?: PollStrategy
streamLog?: boolean
logFolderPath?: string
}
export type PollStrategy = PollOptions[]
-9
View File
@@ -1,9 +0,0 @@
export interface PollStrategy {
maxPollCount: number
pollInterval: number // milliseconds
subsequentStrategies?: PollStrategy[]
streamLog?: boolean
logFolderPath?: string
}
export type PollStrategies = PollStrategy[]