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

chore(poll-job-status): renamed PollOptions to PollStrategy and added docs

This commit is contained in:
Yury Shkoda
2023-05-15 16:32:07 +03:00
parent f9f4aa5aa6
commit 153b285670
8 changed files with 112 additions and 86 deletions

View File

@@ -1,6 +1,8 @@
export interface PollOptions {
export interface PollStrategy {
maxPollCount: number
pollInterval: number // milliseconds
streamLog: boolean
logFolderPath?: string
}
export type PollStrategies = PollStrategy[]

View File

@@ -10,6 +10,6 @@ export * from './SASjsConfig'
export * from './SASjsRequest'
export * from './Session'
export * from './UploadFile'
export * from './PollOptions'
export * from './PollStrategy'
export * from './WriteStream'
export * from './ExecuteScript'