{ "version": 3, "sources": ["src/util/rxjs/helper.ts"], "sourcesContent": ["import { TimeoutConfig } from 'rxjs';\r\n\r\nconst TIMEOUT_STORE = 3000;\r\nconst TIMEOUT_NETWORK = 30000;\r\n\r\nfunction createTimeoutMeta(msg?: string) {\r\n return {\r\n msg,\r\n };\r\n}\r\n\r\nexport const networkTimeout = (timeoutMessage?: string): TimeoutConfig => {\r\n return {\r\n each: TIMEOUT_NETWORK,\r\n meta: createTimeoutMeta(timeoutMessage),\r\n };\r\n};\r\n\r\nexport const storeTimeout = (errorMessage?: string): TimeoutConfig => {\r\n return {\r\n each: TIMEOUT_STORE,\r\n meta: createTimeoutMeta(errorMessage),\r\n };\r\n};\r\n"], "mappings": "AAKA,SAASA,EAAkBC,EAAY,CACrC,MAAO,CACLA,IAAAA,EAEJ,CAEO,IAAMC,EAAqBC,IACzB,CACLC,KAAMC,IACNC,KAAMN,EAAkBG,CAAc,IAI7BI,EAAmBC,IACvB,CACLJ,KAAMK,IACNH,KAAMN,EAAkBQ,CAAY", "names": ["createTimeoutMeta", "msg", "networkTimeout", "timeoutMessage", "each", "TIMEOUT_NETWORK", "meta", "storeTimeout", "errorMessage", "TIMEOUT_STORE"] }