Skip to content

Latest commit

 

History

History
76 lines (45 loc) · 1.76 KB

rest_common.md

File metadata and controls

76 lines (45 loc) · 1.76 KB

Module: rest/common

yajsapi / Exports / rest/common

Module: rest/common

Table of contents

Functions

Functions

is_intermittent_error

is_intermittent_error(e): boolean

Parameters

Name Type
e any

Returns

boolean

Defined in

yajsapi/rest/common.ts:3

repeat_on_error

repeat_on_error(block, max_tries?, max_duration_ms?, interval_ms?, condition?): Promise

Parameters

Name Type Default value
block default undefined
max_tries number 5
max_duration_ms number 15000
interval_ms number 1000
condition default undefined

Returns

Promise

Defined in

yajsapi/rest/common.ts:27

suppress_exceptions

suppress_exceptions(condition, block, report_exceptions?): Promise

Parameters

Name Type Default value
condition default undefined
block default undefined
report_exceptions boolean true

Returns

Promise

Defined in

yajsapi/rest/common.ts:11