@typed/fx 0.0.23 → 0.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintcache CHANGED
@@ -1 +1 @@
1
- [{"/Users/TylorSteinberger/code/tylors/fx/src/Fx.ts":"1","/Users/TylorSteinberger/code/tylors/fx/src/_internal.ts":"2","/Users/TylorSteinberger/code/tylors/fx/src/combine.test.ts":"3","/Users/TylorSteinberger/code/tylors/fx/src/combine.ts":"4","/Users/TylorSteinberger/code/tylors/fx/src/continueWith.ts":"5","/Users/TylorSteinberger/code/tylors/fx/src/debounce.test.ts":"6","/Users/TylorSteinberger/code/tylors/fx/src/debounce.ts":"7","/Users/TylorSteinberger/code/tylors/fx/src/delay.test.ts":"8","/Users/TylorSteinberger/code/tylors/fx/src/delay.ts":"9","/Users/TylorSteinberger/code/tylors/fx/src/during.ts":"10","/Users/TylorSteinberger/code/tylors/fx/src/flatMap.test.ts":"11","/Users/TylorSteinberger/code/tylors/fx/src/flatMap.ts":"12","/Users/TylorSteinberger/code/tylors/fx/src/flatMapConcurrently.ts":"13","/Users/TylorSteinberger/code/tylors/fx/src/fromEffect.ts":"14","/Users/TylorSteinberger/code/tylors/fx/src/hold.test.ts":"15","/Users/TylorSteinberger/code/tylors/fx/src/hold.ts":"16","/Users/TylorSteinberger/code/tylors/fx/src/index.ts":"17","/Users/TylorSteinberger/code/tylors/fx/src/merge.test.ts":"18","/Users/TylorSteinberger/code/tylors/fx/src/merge.ts":"19","/Users/TylorSteinberger/code/tylors/fx/src/multicast.test.ts":"20","/Users/TylorSteinberger/code/tylors/fx/src/multicast.ts":"21","/Users/TylorSteinberger/code/tylors/fx/src/orElse.ts":"22","/Users/TylorSteinberger/code/tylors/fx/src/periodic.test.ts":"23","/Users/TylorSteinberger/code/tylors/fx/src/periodic.ts":"24","/Users/TylorSteinberger/code/tylors/fx/src/provide.ts":"25","/Users/TylorSteinberger/code/tylors/fx/src/scheduled.ts":"26","/Users/TylorSteinberger/code/tylors/fx/src/since.ts":"27","/Users/TylorSteinberger/code/tylors/fx/src/skipRepeats.ts":"28","/Users/TylorSteinberger/code/tylors/fx/src/skipWhile.ts":"29","/Users/TylorSteinberger/code/tylors/fx/src/slice.test.ts":"30","/Users/TylorSteinberger/code/tylors/fx/src/slice.ts":"31","/Users/TylorSteinberger/code/tylors/fx/src/snapshot.ts":"32","/Users/TylorSteinberger/code/tylors/fx/src/suspendSucceed.ts":"33","/Users/TylorSteinberger/code/tylors/fx/src/switchMap.test.ts":"34","/Users/TylorSteinberger/code/tylors/fx/src/switchMap.ts":"35","/Users/TylorSteinberger/code/tylors/fx/src/takeWhile.ts":"36","/Users/TylorSteinberger/code/tylors/fx/src/throttle.test.ts":"37","/Users/TylorSteinberger/code/tylors/fx/src/throttle.ts":"38","/Users/TylorSteinberger/code/tylors/fx/src/transform.ts":"39","/Users/TylorSteinberger/code/tylors/fx/src/until.test.ts":"40","/Users/TylorSteinberger/code/tylors/fx/src/until.ts":"41","/Users/TylorSteinberger/code/tylors/fx/src/zip.test.ts":"42","/Users/TylorSteinberger/code/tylors/fx/src/zip.ts":"43","/Users/TylorSteinberger/code/tylors/fx/src/continueWith.test.ts":"44","/Users/TylorSteinberger/code/tylors/fx/src/during.test.ts":"45","/Users/TylorSteinberger/code/tylors/fx/src/filterLoop.test.ts":"46","/Users/TylorSteinberger/code/tylors/fx/src/filterLoop.ts":"47","/Users/TylorSteinberger/code/tylors/fx/src/filterMap.test.ts":"48","/Users/TylorSteinberger/code/tylors/fx/src/filterMap.ts":"49","/Users/TylorSteinberger/code/tylors/fx/src/flatMapConcurrently.test.ts":"50","/Users/TylorSteinberger/code/tylors/fx/src/fromIterable.ts":"51","/Users/TylorSteinberger/code/tylors/fx/src/mapCause.test.ts":"52","/Users/TylorSteinberger/code/tylors/fx/src/mapCause.ts":"53","/Users/TylorSteinberger/code/tylors/fx/src/mapEffect.test.ts":"54","/Users/TylorSteinberger/code/tylors/fx/src/mapEffect.ts":"55","/Users/TylorSteinberger/code/tylors/fx/src/orElse.test.ts":"56","/Users/TylorSteinberger/code/tylors/fx/src/provide.test.ts":"57","/Users/TylorSteinberger/code/tylors/fx/src/runCollect.ts":"58","/Users/TylorSteinberger/code/tylors/fx/src/runDrain.ts":"59","/Users/TylorSteinberger/code/tylors/fx/src/runObserve.ts":"60","/Users/TylorSteinberger/code/tylors/fx/src/runReduce.ts":"61","/Users/TylorSteinberger/code/tylors/fx/src/since.test.ts":"62","/Users/TylorSteinberger/code/tylors/fx/src/skipRepeats.test.ts":"63","/Users/TylorSteinberger/code/tylors/fx/src/skipWhile.test.ts":"64","/Users/TylorSteinberger/code/tylors/fx/src/snapshot.test.ts":"65","/Users/TylorSteinberger/code/tylors/fx/src/takeWhile.test.ts":"66","/Users/TylorSteinberger/code/tylors/fx/src/tapEffect.ts":"67","/Users/TylorSteinberger/code/tylors/fx/src/withEmitter.test.ts":"68","/Users/TylorSteinberger/code/tylors/fx/src/withEmitter.ts":"69","/Users/TylorSteinberger/code/tylors/fx/src/zipIterable.test.ts":"70","/Users/TylorSteinberger/code/tylors/fx/src/zipIterable.ts":"71","/Users/TylorSteinberger/code/tylors/fx/src/Subject.ts":"72","/Users/TylorSteinberger/code/tylors/fx/src/Subject.test.ts":"73","/Users/TylorSteinberger/code/tylors/fx/src/struct.ts":"74","/Users/TylorSteinberger/code/tylors/fx/src/exhaustMap.test.ts":"75","/Users/TylorSteinberger/code/tylors/fx/src/exhaustMap.ts":"76","/Users/TylorSteinberger/code/tylors/fx/src/exhaustMapLatest.test.ts":"77","/Users/TylorSteinberger/code/tylors/fx/src/exhaustMapLatest.ts":"78","/Users/TylorSteinberger/code/tylors/fx/src/scanEffect.ts":"79"},{"size":1543,"mtime":1667245032170,"results":"80","hashOfConfig":"81"},{"size":2390,"mtime":1666909836963,"results":"82","hashOfConfig":"81"},{"size":919,"mtime":1666901217496,"results":"83","hashOfConfig":"81"},{"size":2169,"mtime":1667363981866,"results":"84","hashOfConfig":"81"},{"size":591,"mtime":1666901217497,"results":"85","hashOfConfig":"81"},{"size":522,"mtime":1666901217497,"results":"86","hashOfConfig":"81"},{"size":1617,"mtime":1666901217497,"results":"87","hashOfConfig":"81"},{"size":701,"mtime":1666901217498,"results":"88","hashOfConfig":"81"},{"size":557,"mtime":1666909013033,"results":"89","hashOfConfig":"81"},{"size":1674,"mtime":1666909765898,"results":"90","hashOfConfig":"81"},{"size":1506,"mtime":1666901217500,"results":"91","hashOfConfig":"81"},{"size":1216,"mtime":1667243469286,"results":"92","hashOfConfig":"81"},{"size":706,"mtime":1666906589152,"results":"93","hashOfConfig":"81"},{"size":3822,"mtime":1667245505029,"results":"94","hashOfConfig":"81"},{"size":1443,"mtime":1666901217502,"results":"95","hashOfConfig":"81"},{"size":3722,"mtime":1667362903230,"results":"96","hashOfConfig":"81"},{"size":1374,"mtime":1667360519364,"results":"97","hashOfConfig":"81"},{"size":530,"mtime":1666901217504,"results":"98","hashOfConfig":"81"},{"size":1039,"mtime":1667363999261,"results":"99","hashOfConfig":"81"},{"size":1293,"mtime":1666901217505,"results":"100","hashOfConfig":"81"},{"size":3363,"mtime":1667243508744,"results":"101","hashOfConfig":"81"},{"size":1034,"mtime":1666901391894,"results":"102","hashOfConfig":"81"},{"size":648,"mtime":1666901217507,"results":"103","hashOfConfig":"81"},{"size":429,"mtime":1666900225601,"results":"104","hashOfConfig":"81"},{"size":2095,"mtime":1666901217508,"results":"105","hashOfConfig":"81"},{"size":2515,"mtime":1666901217509,"results":"106","hashOfConfig":"81"},{"size":1010,"mtime":1666909377506,"results":"107","hashOfConfig":"81"},{"size":959,"mtime":1666901217510,"results":"108","hashOfConfig":"81"},{"size":1300,"mtime":1666901217511,"results":"109","hashOfConfig":"81"},{"size":530,"mtime":1666901217511,"results":"110","hashOfConfig":"81"},{"size":1145,"mtime":1666901217511,"results":"111","hashOfConfig":"81"},{"size":1543,"mtime":1667245692042,"results":"112","hashOfConfig":"81"},{"size":152,"mtime":1666901217512,"results":"113","hashOfConfig":"81"},{"size":976,"mtime":1666901217513,"results":"114","hashOfConfig":"81"},{"size":1628,"mtime":1666901217513,"results":"115","hashOfConfig":"81"},{"size":777,"mtime":1666901217514,"results":"116","hashOfConfig":"81"},{"size":527,"mtime":1666901217515,"results":"117","hashOfConfig":"81"},{"size":1810,"mtime":1666901217515,"results":"118","hashOfConfig":"81"},{"size":1672,"mtime":1666901217516,"results":"119","hashOfConfig":"81"},{"size":577,"mtime":1666910433646,"results":"120","hashOfConfig":"81"},{"size":859,"mtime":1666909733301,"results":"121","hashOfConfig":"81"},{"size":832,"mtime":1666901217517,"results":"122","hashOfConfig":"81"},{"size":2272,"mtime":1667364024593,"results":"123","hashOfConfig":"81"},{"size":654,"mtime":1666901217496,"results":"124","hashOfConfig":"81"},{"size":1195,"mtime":1666923294384,"results":"125","hashOfConfig":"81"},{"size":2106,"mtime":1666901217498,"results":"126","hashOfConfig":"81"},{"size":3589,"mtime":1667243426349,"results":"127","hashOfConfig":"81"},{"size":917,"mtime":1666901217499,"results":"128","hashOfConfig":"81"},{"size":2254,"mtime":1667243443566,"results":"129","hashOfConfig":"81"},{"size":715,"mtime":1666901217501,"results":"130","hashOfConfig":"81"},{"size":541,"mtime":1667245537329,"results":"131","hashOfConfig":"81"},{"size":988,"mtime":1666901217503,"results":"132","hashOfConfig":"81"},{"size":636,"mtime":1667244943264,"results":"133","hashOfConfig":"81"},{"size":557,"mtime":1666901217504,"results":"134","hashOfConfig":"81"},{"size":474,"mtime":1666901217504,"results":"135","hashOfConfig":"81"},{"size":578,"mtime":1666901217506,"results":"136","hashOfConfig":"81"},{"size":1519,"mtime":1666901217507,"results":"137","hashOfConfig":"81"},{"size":595,"mtime":1667245260972,"results":"138","hashOfConfig":"81"},{"size":747,"mtime":1667245189503,"results":"139","hashOfConfig":"81"},{"size":1006,"mtime":1667245204826,"results":"140","hashOfConfig":"81"},{"size":1535,"mtime":1666901217509,"results":"141","hashOfConfig":"81"},{"size":1202,"mtime":1666923495584,"results":"142","hashOfConfig":"81"},{"size":770,"mtime":1666901217510,"results":"143","hashOfConfig":"81"},{"size":1116,"mtime":1666901217510,"results":"144","hashOfConfig":"81"},{"size":1270,"mtime":1666901217512,"results":"145","hashOfConfig":"81"},{"size":1080,"mtime":1666901217513,"results":"146","hashOfConfig":"81"},{"size":656,"mtime":1666901217514,"results":"147","hashOfConfig":"81"},{"size":695,"mtime":1667338167016,"results":"148","hashOfConfig":"81"},{"size":1607,"mtime":1667338167016,"results":"149","hashOfConfig":"81"},{"size":597,"mtime":1666901217517,"results":"150","hashOfConfig":"81"},{"size":1364,"mtime":1666901217517,"results":"151","hashOfConfig":"81"},{"size":7890,"mtime":1667362511847,"results":"152","hashOfConfig":"81"},{"size":2442,"mtime":1667362933383,"results":"153","hashOfConfig":"81"},{"size":612,"mtime":1667266401971,"results":"154","hashOfConfig":"81"},{"size":961,"mtime":1667342820267,"results":"155","hashOfConfig":"81"},{"size":1766,"mtime":1667342674190,"results":"156","hashOfConfig":"81"},{"size":996,"mtime":1667343685087,"results":"157","hashOfConfig":"81"},{"size":2116,"mtime":1667343590392,"results":"158","hashOfConfig":"81"},{"size":972,"mtime":1667360505974,"results":"159","hashOfConfig":"81"},{"filePath":"160","messages":"161","suppressedMessages":"162","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1338ja8",{"filePath":"163","messages":"164","suppressedMessages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","suppressedMessages":"168","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"169","messages":"170","suppressedMessages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","suppressedMessages":"174","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"175","messages":"176","suppressedMessages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","suppressedMessages":"180","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"181","messages":"182","suppressedMessages":"183","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","suppressedMessages":"186","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"187","messages":"188","suppressedMessages":"189","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"190","messages":"191","suppressedMessages":"192","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"193","messages":"194","suppressedMessages":"195","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"196","messages":"197","suppressedMessages":"198","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"199","messages":"200","suppressedMessages":"201","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"202","messages":"203","suppressedMessages":"204","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"205","messages":"206","suppressedMessages":"207","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","suppressedMessages":"210","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"211","messages":"212","suppressedMessages":"213","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"214","messages":"215","suppressedMessages":"216","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"217","messages":"218","suppressedMessages":"219","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"220","messages":"221","suppressedMessages":"222","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"223","messages":"224","suppressedMessages":"225","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"226","messages":"227","suppressedMessages":"228","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"229","messages":"230","suppressedMessages":"231","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"232","messages":"233","suppressedMessages":"234","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"235","messages":"236","suppressedMessages":"237","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"238","messages":"239","suppressedMessages":"240","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"241","messages":"242","suppressedMessages":"243","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"244","messages":"245","suppressedMessages":"246","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"247","messages":"248","suppressedMessages":"249","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"250","messages":"251","suppressedMessages":"252","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"253","messages":"254","suppressedMessages":"255","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"256","messages":"257","suppressedMessages":"258","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"259","messages":"260","suppressedMessages":"261","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"262","messages":"263","suppressedMessages":"264","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"265","messages":"266","suppressedMessages":"267","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"268","messages":"269","suppressedMessages":"270","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"271","messages":"272","suppressedMessages":"273","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"274","messages":"275","suppressedMessages":"276","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"277","messages":"278","suppressedMessages":"279","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"280","messages":"281","suppressedMessages":"282","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"283","messages":"284","suppressedMessages":"285","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"286","messages":"287","suppressedMessages":"288","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"289","messages":"290","suppressedMessages":"291","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"292","messages":"293","suppressedMessages":"294","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"295","messages":"296","suppressedMessages":"297","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"298","messages":"299","suppressedMessages":"300","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"301","messages":"302","suppressedMessages":"303","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"304","messages":"305","suppressedMessages":"306","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"307","messages":"308","suppressedMessages":"309","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"310","messages":"311","suppressedMessages":"312","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"313","messages":"314","suppressedMessages":"315","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"316","messages":"317","suppressedMessages":"318","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"319","messages":"320","suppressedMessages":"321","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"322","messages":"323","suppressedMessages":"324","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"325","messages":"326","suppressedMessages":"327","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"328","messages":"329","suppressedMessages":"330","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"331","messages":"332","suppressedMessages":"333","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"334","messages":"335","suppressedMessages":"336","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"337","messages":"338","suppressedMessages":"339","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"340","messages":"341","suppressedMessages":"342","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"343","messages":"344","suppressedMessages":"345","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"346","messages":"347","suppressedMessages":"348","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"349","messages":"350","suppressedMessages":"351","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"352","messages":"353","suppressedMessages":"354","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"355","messages":"356","suppressedMessages":"357","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"358","messages":"359","suppressedMessages":"360","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"361","messages":"362","suppressedMessages":"363","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"364","messages":"365","suppressedMessages":"366","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"367","messages":"368","suppressedMessages":"369","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"370","messages":"371","suppressedMessages":"372","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"373","messages":"374","suppressedMessages":"375","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"376","messages":"377","suppressedMessages":"378","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"379","messages":"380","suppressedMessages":"381","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"382","messages":"383","suppressedMessages":"384","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"385","messages":"386","suppressedMessages":"387","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"388","messages":"389","suppressedMessages":"390","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"391","messages":"392","suppressedMessages":"393","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"394","messages":"395","suppressedMessages":"396","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/TylorSteinberger/code/tylors/fx/src/Fx.ts",[],["397","398","399","400","401","402"],"/Users/TylorSteinberger/code/tylors/fx/src/_internal.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/combine.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/combine.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/continueWith.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/debounce.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/debounce.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/delay.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/delay.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/during.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/flatMap.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/flatMap.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/flatMapConcurrently.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/fromEffect.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/hold.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/hold.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/index.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/merge.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/merge.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/multicast.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/multicast.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/orElse.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/periodic.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/periodic.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/provide.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/scheduled.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/since.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/skipRepeats.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/skipWhile.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/slice.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/slice.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/snapshot.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/suspendSucceed.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/switchMap.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/switchMap.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/takeWhile.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/throttle.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/throttle.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/transform.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/until.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/until.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/zip.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/zip.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/continueWith.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/during.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/filterLoop.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/filterLoop.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/filterMap.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/filterMap.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/flatMapConcurrently.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/fromIterable.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/mapCause.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/mapCause.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/mapEffect.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/mapEffect.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/orElse.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/provide.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/runCollect.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/runDrain.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/runObserve.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/runReduce.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/since.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/skipRepeats.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/skipWhile.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/snapshot.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/takeWhile.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/tapEffect.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/withEmitter.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/withEmitter.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/zipIterable.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/zipIterable.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/Subject.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/Subject.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/struct.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/exhaustMap.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/exhaustMap.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/exhaustMapLatest.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/exhaustMapLatest.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/scanEffect.ts",[],[],{"ruleId":"403","severity":1,"message":"404","line":22,"column":63,"nodeType":"405","messageId":"406","endLine":22,"endColumn":65,"suppressions":"407"},{"ruleId":"403","severity":1,"message":"408","line":22,"column":73,"nodeType":"405","messageId":"406","endLine":22,"endColumn":75,"suppressions":"409"},{"ruleId":"403","severity":1,"message":"410","line":23,"column":51,"nodeType":"405","messageId":"406","endLine":23,"endColumn":53,"suppressions":"411"},{"ruleId":"403","severity":1,"message":"408","line":23,"column":70,"nodeType":"405","messageId":"406","endLine":23,"endColumn":72,"suppressions":"412"},{"ruleId":"403","severity":1,"message":"410","line":24,"column":51,"nodeType":"405","messageId":"406","endLine":24,"endColumn":53,"suppressions":"413"},{"ruleId":"403","severity":1,"message":"404","line":24,"column":61,"nodeType":"405","messageId":"406","endLine":24,"endColumn":63,"suppressions":"414"},"@typescript-eslint/no-unused-vars","'_E' is defined but never used.","Identifier","unusedVar",["415"],"'_A' is defined but never used.",["416"],"'_R' is defined but never used.",["417"],["418"],["419"],["420"],{"kind":"421","justification":"422"},{"kind":"421","justification":"422"},{"kind":"421","justification":"422"},{"kind":"421","justification":"422"},{"kind":"421","justification":"422"},{"kind":"421","justification":"422"},"directive",""]
1
+ [{"/Users/TylorSteinberger/code/tylors/fx/src/Fx.ts":"1","/Users/TylorSteinberger/code/tylors/fx/src/_internal.ts":"2","/Users/TylorSteinberger/code/tylors/fx/src/combine.test.ts":"3","/Users/TylorSteinberger/code/tylors/fx/src/combine.ts":"4","/Users/TylorSteinberger/code/tylors/fx/src/continueWith.ts":"5","/Users/TylorSteinberger/code/tylors/fx/src/debounce.test.ts":"6","/Users/TylorSteinberger/code/tylors/fx/src/debounce.ts":"7","/Users/TylorSteinberger/code/tylors/fx/src/delay.test.ts":"8","/Users/TylorSteinberger/code/tylors/fx/src/delay.ts":"9","/Users/TylorSteinberger/code/tylors/fx/src/during.ts":"10","/Users/TylorSteinberger/code/tylors/fx/src/flatMap.test.ts":"11","/Users/TylorSteinberger/code/tylors/fx/src/flatMap.ts":"12","/Users/TylorSteinberger/code/tylors/fx/src/flatMapConcurrently.ts":"13","/Users/TylorSteinberger/code/tylors/fx/src/fromEffect.ts":"14","/Users/TylorSteinberger/code/tylors/fx/src/hold.test.ts":"15","/Users/TylorSteinberger/code/tylors/fx/src/hold.ts":"16","/Users/TylorSteinberger/code/tylors/fx/src/index.ts":"17","/Users/TylorSteinberger/code/tylors/fx/src/merge.test.ts":"18","/Users/TylorSteinberger/code/tylors/fx/src/merge.ts":"19","/Users/TylorSteinberger/code/tylors/fx/src/multicast.test.ts":"20","/Users/TylorSteinberger/code/tylors/fx/src/multicast.ts":"21","/Users/TylorSteinberger/code/tylors/fx/src/orElse.ts":"22","/Users/TylorSteinberger/code/tylors/fx/src/periodic.test.ts":"23","/Users/TylorSteinberger/code/tylors/fx/src/periodic.ts":"24","/Users/TylorSteinberger/code/tylors/fx/src/provide.ts":"25","/Users/TylorSteinberger/code/tylors/fx/src/scheduled.ts":"26","/Users/TylorSteinberger/code/tylors/fx/src/since.ts":"27","/Users/TylorSteinberger/code/tylors/fx/src/skipRepeats.ts":"28","/Users/TylorSteinberger/code/tylors/fx/src/skipWhile.ts":"29","/Users/TylorSteinberger/code/tylors/fx/src/slice.test.ts":"30","/Users/TylorSteinberger/code/tylors/fx/src/slice.ts":"31","/Users/TylorSteinberger/code/tylors/fx/src/snapshot.ts":"32","/Users/TylorSteinberger/code/tylors/fx/src/suspendSucceed.ts":"33","/Users/TylorSteinberger/code/tylors/fx/src/switchMap.test.ts":"34","/Users/TylorSteinberger/code/tylors/fx/src/switchMap.ts":"35","/Users/TylorSteinberger/code/tylors/fx/src/takeWhile.ts":"36","/Users/TylorSteinberger/code/tylors/fx/src/throttle.test.ts":"37","/Users/TylorSteinberger/code/tylors/fx/src/throttle.ts":"38","/Users/TylorSteinberger/code/tylors/fx/src/transform.ts":"39","/Users/TylorSteinberger/code/tylors/fx/src/until.test.ts":"40","/Users/TylorSteinberger/code/tylors/fx/src/until.ts":"41","/Users/TylorSteinberger/code/tylors/fx/src/zip.test.ts":"42","/Users/TylorSteinberger/code/tylors/fx/src/zip.ts":"43","/Users/TylorSteinberger/code/tylors/fx/src/continueWith.test.ts":"44","/Users/TylorSteinberger/code/tylors/fx/src/during.test.ts":"45","/Users/TylorSteinberger/code/tylors/fx/src/filterLoop.test.ts":"46","/Users/TylorSteinberger/code/tylors/fx/src/filterLoop.ts":"47","/Users/TylorSteinberger/code/tylors/fx/src/filterMap.test.ts":"48","/Users/TylorSteinberger/code/tylors/fx/src/filterMap.ts":"49","/Users/TylorSteinberger/code/tylors/fx/src/flatMapConcurrently.test.ts":"50","/Users/TylorSteinberger/code/tylors/fx/src/fromIterable.ts":"51","/Users/TylorSteinberger/code/tylors/fx/src/mapCause.test.ts":"52","/Users/TylorSteinberger/code/tylors/fx/src/mapCause.ts":"53","/Users/TylorSteinberger/code/tylors/fx/src/mapEffect.test.ts":"54","/Users/TylorSteinberger/code/tylors/fx/src/mapEffect.ts":"55","/Users/TylorSteinberger/code/tylors/fx/src/orElse.test.ts":"56","/Users/TylorSteinberger/code/tylors/fx/src/provide.test.ts":"57","/Users/TylorSteinberger/code/tylors/fx/src/runCollect.ts":"58","/Users/TylorSteinberger/code/tylors/fx/src/runDrain.ts":"59","/Users/TylorSteinberger/code/tylors/fx/src/runObserve.ts":"60","/Users/TylorSteinberger/code/tylors/fx/src/runReduce.ts":"61","/Users/TylorSteinberger/code/tylors/fx/src/since.test.ts":"62","/Users/TylorSteinberger/code/tylors/fx/src/skipRepeats.test.ts":"63","/Users/TylorSteinberger/code/tylors/fx/src/skipWhile.test.ts":"64","/Users/TylorSteinberger/code/tylors/fx/src/snapshot.test.ts":"65","/Users/TylorSteinberger/code/tylors/fx/src/takeWhile.test.ts":"66","/Users/TylorSteinberger/code/tylors/fx/src/tapEffect.ts":"67","/Users/TylorSteinberger/code/tylors/fx/src/withEmitter.test.ts":"68","/Users/TylorSteinberger/code/tylors/fx/src/withEmitter.ts":"69","/Users/TylorSteinberger/code/tylors/fx/src/zipIterable.test.ts":"70","/Users/TylorSteinberger/code/tylors/fx/src/zipIterable.ts":"71","/Users/TylorSteinberger/code/tylors/fx/src/Subject.ts":"72","/Users/TylorSteinberger/code/tylors/fx/src/Subject.test.ts":"73","/Users/TylorSteinberger/code/tylors/fx/src/struct.ts":"74","/Users/TylorSteinberger/code/tylors/fx/src/exhaustMap.test.ts":"75","/Users/TylorSteinberger/code/tylors/fx/src/exhaustMap.ts":"76","/Users/TylorSteinberger/code/tylors/fx/src/exhaustMapLatest.test.ts":"77","/Users/TylorSteinberger/code/tylors/fx/src/exhaustMapLatest.ts":"78","/Users/TylorSteinberger/code/tylors/fx/src/scanEffect.ts":"79","/Users/TylorSteinberger/code/tylors/fx/src/exhaustMapList.test.ts":"80","/Users/TylorSteinberger/code/tylors/fx/src/exhaustMapList.ts":"81"},{"size":1543,"mtime":1667245032170,"results":"82","hashOfConfig":"83"},{"size":2390,"mtime":1666909836963,"results":"84","hashOfConfig":"83"},{"size":919,"mtime":1666901217496,"results":"85","hashOfConfig":"83"},{"size":2169,"mtime":1667363981866,"results":"86","hashOfConfig":"83"},{"size":591,"mtime":1666901217497,"results":"87","hashOfConfig":"83"},{"size":522,"mtime":1666901217497,"results":"88","hashOfConfig":"83"},{"size":1617,"mtime":1666901217497,"results":"89","hashOfConfig":"83"},{"size":701,"mtime":1666901217498,"results":"90","hashOfConfig":"83"},{"size":557,"mtime":1666909013033,"results":"91","hashOfConfig":"83"},{"size":1674,"mtime":1666909765898,"results":"92","hashOfConfig":"83"},{"size":1506,"mtime":1666901217500,"results":"93","hashOfConfig":"83"},{"size":1216,"mtime":1667243469286,"results":"94","hashOfConfig":"83"},{"size":706,"mtime":1666906589152,"results":"95","hashOfConfig":"83"},{"size":3822,"mtime":1667245505029,"results":"96","hashOfConfig":"83"},{"size":1443,"mtime":1666901217502,"results":"97","hashOfConfig":"83"},{"size":3722,"mtime":1667362903230,"results":"98","hashOfConfig":"83"},{"size":1410,"mtime":1667427462583,"results":"99","hashOfConfig":"83"},{"size":530,"mtime":1666901217504,"results":"100","hashOfConfig":"83"},{"size":1039,"mtime":1667363999261,"results":"101","hashOfConfig":"83"},{"size":1293,"mtime":1666901217505,"results":"102","hashOfConfig":"83"},{"size":3363,"mtime":1667243508744,"results":"103","hashOfConfig":"83"},{"size":1034,"mtime":1666901391894,"results":"104","hashOfConfig":"83"},{"size":648,"mtime":1666901217507,"results":"105","hashOfConfig":"83"},{"size":429,"mtime":1666900225601,"results":"106","hashOfConfig":"83"},{"size":2095,"mtime":1666901217508,"results":"107","hashOfConfig":"83"},{"size":2515,"mtime":1666901217509,"results":"108","hashOfConfig":"83"},{"size":1010,"mtime":1666909377506,"results":"109","hashOfConfig":"83"},{"size":959,"mtime":1666901217510,"results":"110","hashOfConfig":"83"},{"size":1300,"mtime":1666901217511,"results":"111","hashOfConfig":"83"},{"size":530,"mtime":1666901217511,"results":"112","hashOfConfig":"83"},{"size":1145,"mtime":1666901217511,"results":"113","hashOfConfig":"83"},{"size":1543,"mtime":1667245692042,"results":"114","hashOfConfig":"83"},{"size":152,"mtime":1666901217512,"results":"115","hashOfConfig":"83"},{"size":976,"mtime":1666901217513,"results":"116","hashOfConfig":"83"},{"size":1628,"mtime":1666901217513,"results":"117","hashOfConfig":"83"},{"size":777,"mtime":1666901217514,"results":"118","hashOfConfig":"83"},{"size":527,"mtime":1666901217515,"results":"119","hashOfConfig":"83"},{"size":1810,"mtime":1666901217515,"results":"120","hashOfConfig":"83"},{"size":1672,"mtime":1666901217516,"results":"121","hashOfConfig":"83"},{"size":1089,"mtime":1667430061361,"results":"122","hashOfConfig":"83"},{"size":859,"mtime":1666909733301,"results":"123","hashOfConfig":"83"},{"size":832,"mtime":1666901217517,"results":"124","hashOfConfig":"83"},{"size":2272,"mtime":1667364024593,"results":"125","hashOfConfig":"83"},{"size":654,"mtime":1666901217496,"results":"126","hashOfConfig":"83"},{"size":1195,"mtime":1666923294384,"results":"127","hashOfConfig":"83"},{"size":2106,"mtime":1666901217498,"results":"128","hashOfConfig":"83"},{"size":3589,"mtime":1667243426349,"results":"129","hashOfConfig":"83"},{"size":917,"mtime":1666901217499,"results":"130","hashOfConfig":"83"},{"size":2254,"mtime":1667243443566,"results":"131","hashOfConfig":"83"},{"size":715,"mtime":1666901217501,"results":"132","hashOfConfig":"83"},{"size":541,"mtime":1667245537329,"results":"133","hashOfConfig":"83"},{"size":988,"mtime":1666901217503,"results":"134","hashOfConfig":"83"},{"size":636,"mtime":1667244943264,"results":"135","hashOfConfig":"83"},{"size":557,"mtime":1666901217504,"results":"136","hashOfConfig":"83"},{"size":474,"mtime":1666901217504,"results":"137","hashOfConfig":"83"},{"size":578,"mtime":1666901217506,"results":"138","hashOfConfig":"83"},{"size":1519,"mtime":1666901217507,"results":"139","hashOfConfig":"83"},{"size":595,"mtime":1667245260972,"results":"140","hashOfConfig":"83"},{"size":747,"mtime":1667245189503,"results":"141","hashOfConfig":"83"},{"size":1006,"mtime":1667245204826,"results":"142","hashOfConfig":"83"},{"size":1535,"mtime":1666901217509,"results":"143","hashOfConfig":"83"},{"size":1202,"mtime":1666923495584,"results":"144","hashOfConfig":"83"},{"size":770,"mtime":1666901217510,"results":"145","hashOfConfig":"83"},{"size":1116,"mtime":1666901217510,"results":"146","hashOfConfig":"83"},{"size":1270,"mtime":1666901217512,"results":"147","hashOfConfig":"83"},{"size":1080,"mtime":1666901217513,"results":"148","hashOfConfig":"83"},{"size":656,"mtime":1666901217514,"results":"149","hashOfConfig":"83"},{"size":695,"mtime":1667338167016,"results":"150","hashOfConfig":"83"},{"size":1607,"mtime":1667338167016,"results":"151","hashOfConfig":"83"},{"size":597,"mtime":1666901217517,"results":"152","hashOfConfig":"83"},{"size":1364,"mtime":1666901217517,"results":"153","hashOfConfig":"83"},{"size":7890,"mtime":1667362511847,"results":"154","hashOfConfig":"83"},{"size":2442,"mtime":1667362933383,"results":"155","hashOfConfig":"83"},{"size":612,"mtime":1667266401971,"results":"156","hashOfConfig":"83"},{"size":961,"mtime":1667342820267,"results":"157","hashOfConfig":"83"},{"size":1766,"mtime":1667342674190,"results":"158","hashOfConfig":"83"},{"size":996,"mtime":1667343685087,"results":"159","hashOfConfig":"83"},{"size":2116,"mtime":1667343590392,"results":"160","hashOfConfig":"83"},{"size":972,"mtime":1667360505974,"results":"161","hashOfConfig":"83"},{"size":1658,"mtime":1667429620812,"results":"162","hashOfConfig":"83"},{"size":6470,"mtime":1667429951810,"results":"163","hashOfConfig":"83"},{"filePath":"164","messages":"165","suppressedMessages":"166","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1338ja8",{"filePath":"167","messages":"168","suppressedMessages":"169","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","suppressedMessages":"172","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"173","messages":"174","suppressedMessages":"175","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"176","messages":"177","suppressedMessages":"178","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"179","messages":"180","suppressedMessages":"181","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","suppressedMessages":"184","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"185","messages":"186","suppressedMessages":"187","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"188","messages":"189","suppressedMessages":"190","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"191","messages":"192","suppressedMessages":"193","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"194","messages":"195","suppressedMessages":"196","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"197","messages":"198","suppressedMessages":"199","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"200","messages":"201","suppressedMessages":"202","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"203","messages":"204","suppressedMessages":"205","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"206","messages":"207","suppressedMessages":"208","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"209","messages":"210","suppressedMessages":"211","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"212","messages":"213","suppressedMessages":"214","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"215","messages":"216","suppressedMessages":"217","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"218","messages":"219","suppressedMessages":"220","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"221","messages":"222","suppressedMessages":"223","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"224","messages":"225","suppressedMessages":"226","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"227","messages":"228","suppressedMessages":"229","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"230","messages":"231","suppressedMessages":"232","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"233","messages":"234","suppressedMessages":"235","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"236","messages":"237","suppressedMessages":"238","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"239","messages":"240","suppressedMessages":"241","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"242","messages":"243","suppressedMessages":"244","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"245","messages":"246","suppressedMessages":"247","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"248","messages":"249","suppressedMessages":"250","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"251","messages":"252","suppressedMessages":"253","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"254","messages":"255","suppressedMessages":"256","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"257","messages":"258","suppressedMessages":"259","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"260","messages":"261","suppressedMessages":"262","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"263","messages":"264","suppressedMessages":"265","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"266","messages":"267","suppressedMessages":"268","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"269","messages":"270","suppressedMessages":"271","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"272","messages":"273","suppressedMessages":"274","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"275","messages":"276","suppressedMessages":"277","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"278","messages":"279","suppressedMessages":"280","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"281","messages":"282","suppressedMessages":"283","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"284","messages":"285","suppressedMessages":"286","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"287","messages":"288","suppressedMessages":"289","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"290","messages":"291","suppressedMessages":"292","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"293","messages":"294","suppressedMessages":"295","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"296","messages":"297","suppressedMessages":"298","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"299","messages":"300","suppressedMessages":"301","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"302","messages":"303","suppressedMessages":"304","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"305","messages":"306","suppressedMessages":"307","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"308","messages":"309","suppressedMessages":"310","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"311","messages":"312","suppressedMessages":"313","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"314","messages":"315","suppressedMessages":"316","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"317","messages":"318","suppressedMessages":"319","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"320","messages":"321","suppressedMessages":"322","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"323","messages":"324","suppressedMessages":"325","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"326","messages":"327","suppressedMessages":"328","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"329","messages":"330","suppressedMessages":"331","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"332","messages":"333","suppressedMessages":"334","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"335","messages":"336","suppressedMessages":"337","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"338","messages":"339","suppressedMessages":"340","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"341","messages":"342","suppressedMessages":"343","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"344","messages":"345","suppressedMessages":"346","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"347","messages":"348","suppressedMessages":"349","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"350","messages":"351","suppressedMessages":"352","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"353","messages":"354","suppressedMessages":"355","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"356","messages":"357","suppressedMessages":"358","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"359","messages":"360","suppressedMessages":"361","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"362","messages":"363","suppressedMessages":"364","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"365","messages":"366","suppressedMessages":"367","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"368","messages":"369","suppressedMessages":"370","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"371","messages":"372","suppressedMessages":"373","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"374","messages":"375","suppressedMessages":"376","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"377","messages":"378","suppressedMessages":"379","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"380","messages":"381","suppressedMessages":"382","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"383","messages":"384","suppressedMessages":"385","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"386","messages":"387","suppressedMessages":"388","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"389","messages":"390","suppressedMessages":"391","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"392","messages":"393","suppressedMessages":"394","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"395","messages":"396","suppressedMessages":"397","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"398","messages":"399","suppressedMessages":"400","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"401","messages":"402","suppressedMessages":"403","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"404","messages":"405","suppressedMessages":"406","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/TylorSteinberger/code/tylors/fx/src/Fx.ts",[],["407","408","409","410","411","412"],"/Users/TylorSteinberger/code/tylors/fx/src/_internal.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/combine.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/combine.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/continueWith.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/debounce.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/debounce.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/delay.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/delay.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/during.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/flatMap.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/flatMap.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/flatMapConcurrently.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/fromEffect.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/hold.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/hold.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/index.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/merge.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/merge.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/multicast.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/multicast.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/orElse.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/periodic.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/periodic.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/provide.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/scheduled.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/since.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/skipRepeats.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/skipWhile.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/slice.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/slice.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/snapshot.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/suspendSucceed.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/switchMap.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/switchMap.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/takeWhile.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/throttle.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/throttle.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/transform.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/until.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/until.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/zip.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/zip.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/continueWith.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/during.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/filterLoop.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/filterLoop.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/filterMap.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/filterMap.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/flatMapConcurrently.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/fromIterable.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/mapCause.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/mapCause.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/mapEffect.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/mapEffect.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/orElse.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/provide.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/runCollect.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/runDrain.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/runObserve.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/runReduce.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/since.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/skipRepeats.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/skipWhile.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/snapshot.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/takeWhile.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/tapEffect.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/withEmitter.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/withEmitter.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/zipIterable.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/zipIterable.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/Subject.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/Subject.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/struct.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/exhaustMap.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/exhaustMap.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/exhaustMapLatest.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/exhaustMapLatest.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/scanEffect.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/exhaustMapList.test.ts",[],[],"/Users/TylorSteinberger/code/tylors/fx/src/exhaustMapList.ts",[],[],{"ruleId":"413","severity":1,"message":"414","line":22,"column":63,"nodeType":"415","messageId":"416","endLine":22,"endColumn":65,"suppressions":"417"},{"ruleId":"413","severity":1,"message":"418","line":22,"column":73,"nodeType":"415","messageId":"416","endLine":22,"endColumn":75,"suppressions":"419"},{"ruleId":"413","severity":1,"message":"420","line":23,"column":51,"nodeType":"415","messageId":"416","endLine":23,"endColumn":53,"suppressions":"421"},{"ruleId":"413","severity":1,"message":"418","line":23,"column":70,"nodeType":"415","messageId":"416","endLine":23,"endColumn":72,"suppressions":"422"},{"ruleId":"413","severity":1,"message":"420","line":24,"column":51,"nodeType":"415","messageId":"416","endLine":24,"endColumn":53,"suppressions":"423"},{"ruleId":"413","severity":1,"message":"414","line":24,"column":61,"nodeType":"415","messageId":"416","endLine":24,"endColumn":63,"suppressions":"424"},"@typescript-eslint/no-unused-vars","'_E' is defined but never used.","Identifier","unusedVar",["425"],"'_A' is defined but never used.",["426"],"'_R' is defined but never used.",["427"],["428"],["429"],["430"],{"kind":"431","justification":"432"},{"kind":"431","justification":"432"},{"kind":"431","justification":"432"},{"kind":"431","justification":"432"},{"kind":"431","justification":"432"},{"kind":"431","justification":"432"},"directive",""]
@@ -0,0 +1,3 @@
1
+ import { Fx } from './Fx.js';
2
+ export declare function exhaustMapList<A, R2, E2, B, A1 = A>(f: (a: A) => Fx<R2, E2, B>, selector?: (a: A) => A1): <R, E>(fx: Fx<R, E, readonly A[]>) => Fx<R2 | R, E2 | E, readonly B[]>;
3
+ //# sourceMappingURL=exhaustMapList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exhaustMapList.d.ts","sourceRoot":"","sources":["../src/exhaustMapList.ts"],"names":[],"mappings":"AASA,OAAO,EAAW,EAAE,EAAE,MAAM,SAAS,CAAA;AAGrC,wBAAgB,cAAc,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,GAAG,CAAC,EACjD,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAC1B,QAAQ,GAAE,CAAC,CAAC,EAAE,CAAC,KAAK,EAAoB,0EAgIzC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.exhaustMapList = void 0;
27
+ const Effect = __importStar(require("@effect/core/io/Effect"));
28
+ const Fiber = __importStar(require("@effect/core/io/Fiber"));
29
+ const Function_1 = require("@fp-ts/data/Function");
30
+ const HashSet = __importStar(require("@tsplus/stdlib/collections/HashSet"));
31
+ const ImmutableMap = __importStar(require("@tsplus/stdlib/collections/ImmutableMap"));
32
+ const AtomicReference_1 = require("@tsplus/stdlib/data/AtomicReference");
33
+ const Function_2 = require("@tsplus/stdlib/data/Function");
34
+ const Maybe = __importStar(require("@tsplus/stdlib/data/Maybe"));
35
+ const Fx_js_1 = require("./Fx.js");
36
+ const _internal_js_1 = require("./_internal.js");
37
+ function exhaustMapList(f, selector = Function_2.identity) {
38
+ return (fx) => (0, Fx_js_1.Fx)((emitter) => (0, Function_1.pipe)(Effect.sync(() => new AtomicReference_1.AtomicReference(ImmutableMap.empty())), Effect.zip(Effect.sync(() => new AtomicReference_1.AtomicReference([]))), // Must use Array to maintain order
39
+ Effect.zip(Effect.sync(() => new AtomicReference_1.AtomicReference(ImmutableMap.empty()))), Effect.flatMap(([[fibersMapRef, previousValuesRef], valuesRef]) => {
40
+ const emitIfReady = (0, Function_1.pipe)(Effect.sync(() => previousValuesRef.get), Effect.zip(Effect.sync(() => valuesRef.get)), Effect.flatMap(([previousValues, values]) => {
41
+ const vals = previousValues
42
+ .map((a) => (0, Function_1.pipe)(values, ImmutableMap.get(selector(a))))
43
+ .filter(Maybe.isSome)
44
+ .map((x) => x.value);
45
+ if (vals.length === previousValues.length) {
46
+ return emitter.emit(vals);
47
+ }
48
+ return Effect.unit;
49
+ }));
50
+ return (0, _internal_js_1.withDynamicCountdownLatch)(1, ({ latch, increment }) => (0, Function_1.pipe)(fx.run((0, Fx_js_1.Emitter)((as) => Effect.suspendSucceed(() => {
51
+ const fibersMap = fibersMapRef.get;
52
+ const previous = HashSet.make(...previousValuesRef.get);
53
+ const current = HashSet.make(...as);
54
+ const toStart = HashSet.difference(previous)(current);
55
+ const toCancel = HashSet.difference(current)(previous);
56
+ previousValuesRef.set(as);
57
+ // If the input values were just reordered, go ahead and emit
58
+ if (HashSet.size(toStart) === 0 && HashSet.size(toCancel) === 0) {
59
+ return emitIfReady;
60
+ }
61
+ return (0, Function_1.pipe)(Effect.forEachParDiscard(toCancel, (a) => (0, Function_1.pipe)(fibersMap, ImmutableMap.get(selector(a)), Maybe.fold(() => Effect.unit, (fiber) => (0, Function_1.pipe)(Fiber.interrupt(fiber), Effect.zipRight(Effect.sync(() => {
62
+ const a1 = selector(a);
63
+ fibersMapRef.set(ImmutableMap.remove(a1)(fibersMapRef.get));
64
+ valuesRef.set(ImmutableMap.remove(a1)(valuesRef.get));
65
+ })), Effect.zipRight(latch.countDown))))), Effect.zipParRight(Effect.forEachDiscard(toStart, (a) => (0, Function_1.pipe)(increment, Effect.flatMap(() => Effect.forkScoped(f(a).run((0, Fx_js_1.Emitter)((b) => (0, Function_1.pipe)(Effect.sync(() => valuesRef.set(ImmutableMap.set(selector(a), b)(valuesRef.get))), Effect.zipRight(emitIfReady)), emitter.failCause, (0, Function_1.pipe)(Effect.sync(() => fibersMapRef.set(ImmutableMap.remove(selector(a))(fibersMapRef.get))), Effect.zipRight(latch.countDown)))))), Effect.tap((fiber) => Effect.sync(() => fibersMapRef.set((0, Function_1.pipe)(fibersMapRef.get, ImmutableMap.set(selector(a), fiber)))))))), Effect.forkScoped);
66
+ }), emitter.failCause, latch.countDown))), emitter.end);
67
+ })));
68
+ }
69
+ exports.exhaustMapList = exhaustMapList;
70
+ //# sourceMappingURL=exhaustMapList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exhaustMapList.js","sourceRoot":"","sources":["../src/exhaustMapList.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAAgD;AAChD,6DAA8C;AAC9C,mDAA2C;AAC3C,4EAA6D;AAC7D,sFAAuE;AACvE,yEAAqE;AACrE,2DAAuD;AACvD,iEAAkD;AAElD,mCAAqC;AACrC,iDAA0D;AAE1D,SAAgB,cAAc,CAC5B,CAA0B,EAC1B,WAAyB,mBAAe;IAExC,OAAO,CAAO,EAA8B,EAAwC,EAAE,CACpF,IAAA,UAAE,EAAC,CAAC,OAAO,EAAE,EAAE,CACb,IAAA,eAAI,EACF,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,iCAAe,CAAC,YAAY,CAAC,KAAK,EAAgC,CAAC,CAAC,EAC1F,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,iCAAe,CAAmB,EAAE,CAAC,CAAC,CAAC,EAAE,mCAAmC;IAC7G,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,iCAAe,CAAC,YAAY,CAAC,KAAK,EAAS,CAAC,CAAC,CAAC,EAC/E,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,iBAAiB,CAAC,EAAE,SAAS,CAAC,EAAE,EAAE;QAChE,MAAM,WAAW,GAAG,IAAA,e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,EACT,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAClB,MAAM,CAAC,UAAU,CACf,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CACN,IAAA,eAAO,EACL,CAAC,CAAC,EAAE,EAAE,CACJ,IAAA,eAAI,EACF,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CACf,SAAS,CAAC,GAAG,CACX,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAChD,CACF,EACD,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,CAC7B,EACH,OAAO,CAAC,SAAS,EACjB,IAAA,eAAI,EACF,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CACf,YAAY,CAAC,GAAG,CACd,YAAY,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,CACnD,CACF,EACD,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,CACjC,CACF,CACF,CACF,CACF,EACD,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CACf,YAAY,CAAC,GAAG,CACd,IAAA,eAAI,EACF,YAAY,CAAC,GAAG,EAChB,YAAY,CAAC,GAAG,CACd,QAAQ,CAAC,CAAC,CAAC,EACX,KAAK,CACN,CACF,CACF,CACF,CACF,CACF,CACF,CACF,EACD,MAAM,CAAC,UAAU,CAClB,CAAA;QACH,CAAC,CAAC,EACJ,OAAO,CAAC,SAAS,EACjB,KAAK,CAAC,SAAS,CAChB,CACF,CACF,EACH,OAAO,CAAC,GAAG,CACZ,CAAA;IACH,CAAC,CAAC,CACH,CACF,CAAA;AACL,CAAC;AAlID,wCAkIC"}
package/cjs/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export * from './delay.js';
5
5
  export * from './during.js';
6
6
  export * from './exhaustMap.js';
7
7
  export * from './exhaustMapLatest.js';
8
+ export * from './exhaustMapList.js';
8
9
  export * from './filterLoop.js';
9
10
  export * from './filterMap.js';
10
11
  export * from './flatMap.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AA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BAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA"}
package/cjs/index.js CHANGED
@@ -21,6 +21,7 @@ __exportStar(require("./delay.js"), exports);
21
21
  __exportStar(require("./during.js"), exports);
22
22
  __exportStar(require("./exhaustMap.js"), exports);
23
23
  __exportStar(require("./exhaustMapLatest.js"), exports);
24
+ __exportStar(require("./exhaustMapList.js"), exports);
24
25
  __exportStar(require("./filterLoop.js"), exports);
25
26
  __exportStar(require("./filterMap.js"), exports);
26
27
  __exportStar(require("./flatMap.js"), exports);
package/cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,oDAAiC;AACjC,gDAA6B;AAC7B,6CAA0B;AAC1B,8CAA2B;AAC3B,kDAA+B;AAC/B,wDAAqC;AACrC,kDAA+B;AAC/B,iDAA8B;AAC9B,+CAA4B;AAC5B,2DAAwC;AACxC,kDAA+B;AAC/B,oDAAiC;AACjC,0CAAuB;AACvB,4CAAyB;AACzB,gDAA6B;AAC7B,iDAA8B;AAC9B,6CAA0B;AAC1B,iDAA8B;AAC9B,8CAA2B;AAC3B,gDAA6B;AAC7B,+CAA4B;AAC5B,kDAA+B;AAC/B,gDAA6B;AAC7B,kDAA+B;AAC/B,iDAA8B;AAC9B,kDAA+B;AAC/B,iDAA8B;AAC9B,6CAA0B;AAC1B,mDAAgC;AAChC,iDAA8B;AAC9B,6CAA0B;AAC1B,gDAA6B;AAC7B,8CAA2B;AAC3B,+CAA4B;AAC5B,sDAAmC;AACnC,iDAA8B;AAC9B,iDAA8B;AAC9B,iDAA8B;AAC9B,gDAA6B;AAC7B,iDAA8B;AAC9B,6CAA0B;AAC1B,mDAAgC;AAChC,2CAAwB;AACxB,mDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,oDAAiC;AACjC,gDAA6B;AAC7B,6CAA0B;AAC1B,8CAA2B;AAC3B,kDAA+B;AAC/B,wDAAqC;AACrC,sDAAmC;AACnC,kDAA+B;AAC/B,iDAA8B;AAC9B,+CAA4B;AAC5B,2DAAwC;AACxC,kDAA+B;AAC/B,oDAAiC;AACjC,0CAAuB;AACvB,4CAAyB;AACzB,gDAA6B;AAC7B,iDAA8B;AAC9B,6CAA0B;AAC1B,iDAA8B;AAC9B,8CAA2B;AAC3B,gDAA6B;AAC7B,+CAA4B;AAC5B,kDAA+B;AAC/B,gDAA6B;AAC7B,kDAA+B;AAC/B,iDAA8B;AAC9B,kDAA+B;AAC/B,iDAA8B;AAC9B,6CAA0B;AAC1B,mDAAgC;AAChC,iDAA8B;AAC9B,6CAA0B;AAC1B,gDAA6B;AAC7B,8CAA2B;AAC3B,+CAA4B;AAC5B,sDAAmC;AACnC,iDAA8B;AAC9B,iDAA8B;AAC9B,iDAA8B;AAC9B,gDAA6B;AAC7B,iDAA8B;AAC9B,6CAA0B;AAC1B,mDAAgC;AAChC,2CAAwB;AACxB,mDAAgC"}
@@ -0,0 +1,3 @@
1
+ import { Fx } from './Fx.js';
2
+ export declare function exhaustMapList<A, R2, E2, B, A1 = A>(f: (a: A) => Fx<R2, E2, B>, selector?: (a: A) => A1): <R, E>(fx: Fx<R, E, readonly A[]>) => Fx<R2 | R, E2 | E, readonly B[]>;
3
+ //# sourceMappingURL=exhaustMapList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exhaustMapList.d.ts","sourceRoot":"","sources":["../src/exhaustMapList.ts"],"names":[],"mappings":"AASA,OAAO,EAAW,EAAE,EAAE,MAAM,SAAS,CAAA;AAGrC,wBAAgB,cAAc,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,GAAG,CAAC,EACjD,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAC1B,QAAQ,GAAE,CAAC,CAAC,EAAE,CAAC,KAAK,EAAoB,0EAgIzC"}
@@ -0,0 +1,43 @@
1
+ import * as Effect from '@effect/core/io/Effect';
2
+ import * as Fiber from '@effect/core/io/Fiber';
3
+ import { pipe } from '@fp-ts/data/Function';
4
+ import * as HashSet from '@tsplus/stdlib/collections/HashSet';
5
+ import * as ImmutableMap from '@tsplus/stdlib/collections/ImmutableMap';
6
+ import { AtomicReference } from '@tsplus/stdlib/data/AtomicReference';
7
+ import { identity } from '@tsplus/stdlib/data/Function';
8
+ import * as Maybe from '@tsplus/stdlib/data/Maybe';
9
+ import { Emitter, Fx } from './Fx.js';
10
+ import { withDynamicCountdownLatch } from './_internal.js';
11
+ export function exhaustMapList(f, selector = identity) {
12
+ return (fx) => Fx((emitter) => pipe(Effect.sync(() => new AtomicReference(ImmutableMap.empty())), Effect.zip(Effect.sync(() => new AtomicReference([]))), // Must use Array to maintain order
13
+ Effect.zip(Effect.sync(() => new AtomicReference(ImmutableMap.empty()))), Effect.flatMap(([[fibersMapRef, previousValuesRef], valuesRef]) => {
14
+ const emitIfReady = pipe(Effect.sync(() => previousValuesRef.get), Effect.zip(Effect.sync(() => valuesRef.get)), Effect.flatMap(([previousValues, values]) => {
15
+ const vals = previousValues
16
+ .map((a) => pipe(values, ImmutableMap.get(selector(a))))
17
+ .filter(Maybe.isSome)
18
+ .map((x) => x.value);
19
+ if (vals.length === previousValues.length) {
20
+ return emitter.emit(vals);
21
+ }
22
+ return Effect.unit;
23
+ }));
24
+ return withDynamicCountdownLatch(1, ({ latch, increment }) => pipe(fx.run(Emitter((as) => Effect.suspendSucceed(() => {
25
+ const fibersMap = fibersMapRef.get;
26
+ const previous = HashSet.make(...previousValuesRef.get);
27
+ const current = HashSet.make(...as);
28
+ const toStart = HashSet.difference(previous)(current);
29
+ const toCancel = HashSet.difference(current)(previous);
30
+ previousValuesRef.set(as);
31
+ // If the input values were just reordered, go ahead and emit
32
+ if (HashSet.size(toStart) === 0 && HashSet.size(toCancel) === 0) {
33
+ return emitIfReady;
34
+ }
35
+ return pipe(Effect.forEachParDiscard(toCancel, (a) => pipe(fibersMap, ImmutableMap.get(selector(a)), Maybe.fold(() => Effect.unit, (fiber) => pipe(Fiber.interrupt(fiber), Effect.zipRight(Effect.sync(() => {
36
+ const a1 = selector(a);
37
+ fibersMapRef.set(ImmutableMap.remove(a1)(fibersMapRef.get));
38
+ valuesRef.set(ImmutableMap.remove(a1)(valuesRef.get));
39
+ })), Effect.zipRight(latch.countDown))))), Effect.zipParRight(Effect.forEachDiscard(toStart, (a) => pipe(increment, Effect.flatMap(() => Effect.forkScoped(f(a).run(Emitter((b) => pipe(Effect.sync(() => valuesRef.set(ImmutableMap.set(selector(a), b)(valuesRef.get))), Effect.zipRight(emitIfReady)), emitter.failCause, pipe(Effect.sync(() => fibersMapRef.set(ImmutableMap.remove(selector(a))(fibersMapRef.get))), Effect.zipRight(latch.countDown)))))), Effect.tap((fiber) => Effect.sync(() => fibersMapRef.set(pipe(fibersMapRef.get, ImmutableMap.set(selector(a), fiber)))))))), Effect.forkScoped);
40
+ }), emitter.failCause, latch.countDown))), emitter.end);
41
+ })));
42
+ }
43
+ //# sourceMappingURL=exhaustMapList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exhaustMapList.js","sourceRoot":"","sources":["../src/exhaustMapList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAA;AAChD,OAAO,KAAK,KAAK,MAAM,uBAAuB,CAAA;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAC3C,OAAO,KAAK,OAAO,MAAM,oCAAoC,CAAA;AAC7D,OAAO,KAA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AAM,CAAC,QAAQ,CAAC,WAAW,CAAC,CAC7B,EACH,OAAO,CAAC,SAAS,EACjB,IAAI,CACF,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CACf,YAAY,CAAC,GAAG,CACd,YAAY,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,CACnD,CACF,EACD,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,CACjC,CACF,CACF,CACF,CACF,EACD,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CACnB,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CACf,YAAY,CAAC,GAAG,CACd,IAAI,CACF,YAAY,CAAC,GAAG,EAChB,YAAY,CAAC,GAAG,CACd,QAAQ,CAAC,CAAC,CAAC,EACX,KAAK,CACN,CACF,CACF,CACF,CACF,CACF,CACF,CACF,EACD,MAAM,CAAC,UAAU,CAClB,CAAA;QACH,CAAC,CAAC,EACJ,OAAO,CAAC,SAAS,EACjB,KAAK,CAAC,SAAS,CAChB,CACF,CACF,EACH,OAAO,CAAC,GAAG,CACZ,CAAA;IACH,CAAC,CAAC,CACH,CACF,CAAA;AACL,CAAC"}
package/esm/index.d.ts CHANGED
@@ -5,6 +5,7 @@ export * from './delay.js';
5
5
  export * from './during.js';
6
6
  export * from './exhaustMap.js';
7
7
  export * from './exhaustMapLatest.js';
8
+ export * from './exhaustMapList.js';
8
9
  export * from './filterLoop.js';
9
10
  export * from './filterMap.js';
10
11
  export * from './flatMap.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,uBAAuB,C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,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA"}
package/esm/index.js CHANGED
@@ -5,6 +5,7 @@ export * from './delay.js';
5
5
  export * from './during.js';
6
6
  export * from './exhaustMap.js';
7
7
  export * from './exhaustMapLatest.js';
8
+ export * from './exhaustMapList.js';
8
9
  export * from './filterLoop.js';
9
10
  export * from './filterMap.js';
10
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C9B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typed/fx",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "High-performance Asynchronous Effects",
5
5
  "type": "module",
6
6
  "main": "esm/index.js",
@@ -10,7 +10,7 @@
10
10
  "scripts": {
11
11
  "build:cjs": "rm -rf cjs && tsc -p ./tsconfig.build.cjs.json",
12
12
  "build:esm": "rm -rf esm && tsc -p ./tsconfig.build.esm.json",
13
- "build:package-exports": "tsx ./tools/generatePackageExports.ts",
13
+ "build:package-exports": "tsx ./tools/generatePackageExports.ts && git add package.json && git commit -m 'chore: generate package exports'",
14
14
  "build": "concurrently npm:build:esm npm:build:cjs && npm run build:package-exports",
15
15
  "eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --ext .ts,.js,.json,.yaml --fix --cache src",
16
16
  "mocha": "mocha 'src/**/*.test.ts'",
@@ -196,6 +196,16 @@
196
196
  "types": "./esm/exhaustMapLatest.d.ts"
197
197
  }
198
198
  },
199
+ "./exhaustMapList": {
200
+ "require": {
201
+ "default": "./cjs/exhaustMapList.js",
202
+ "types": "./cjs/exhaustMapList.d.ts"
203
+ },
204
+ "import": {
205
+ "default": "./esm/exhaustMapList.js",
206
+ "types": "./esm/exhaustMapList.d.ts"
207
+ }
208
+ },
199
209
  "./filterLoop": {
200
210
  "require": {
201
211
  "default": "./cjs/filterLoop.js",
@@ -0,0 +1,64 @@
1
+ import { deepStrictEqual } from 'assert'
2
+
3
+ import * as Effect from '@effect/core/io/Effect'
4
+ import * as Fiber from '@effect/core/io/Fiber'
5
+ import * as TestClock from '@effect/core/testing/TestClock'
6
+ import { TestEnvironment } from '@effect/core/testing/TestEnvironment'
7
+ import { pipe } from '@fp-ts/data/Function'
8
+ import { millis } from '@tsplus/stdlib/data/Duration'
9
+
10
+ import * as Fx from './index.js'
11
+
12
+ describe(import.meta.url, () => {
13
+ describe(Fx.exhaustMapList.name, () => {
14
+ it('memoizes the input value its first stream', async () => {
15
+ let started = 0
16
+ const fx = pipe(
17
+ Fx.succeed([1, 2, 3]),
18
+ Fx.merge(pipe(Fx.succeed([3, 2, 1]), Fx.delay(millis(30)))),
19
+ Fx.exhaustMapList((a) => {
20
+ started++
21
+
22
+ return pipe(
23
+ Fx.periodic(millis(10)),
24
+ Fx.scan(a, (x) => x + a),
25
+ Fx.take(a * a),
26
+ )
27
+ }),
28
+ )
29
+
30
+ const test = pipe(
31
+ Effect.gen(function* ($) {
32
+ const fiber = yield* $(pipe(fx, Fx.runCollect, Effect.fork))
33
+
34
+ for (let i = 0; i < 20; i++) {
35
+ yield* $(TestClock.adjust(millis(10)))
36
+ }
37
+
38
+ return yield* $(Fiber.join(fiber))
39
+ }),
40
+ Effect.provideLayer(TestEnvironment),
41
+ )
42
+
43
+ const events = await Effect.unsafeRunPromise(test)
44
+
45
+ deepStrictEqual(events, [
46
+ [1, 2, 3],
47
+ [1, 2, 6],
48
+ [1, 4, 6],
49
+ [1, 6, 6],
50
+ [1, 6, 9],
51
+ [1, 6, 12],
52
+ [1, 8, 12],
53
+ [12, 8, 1],
54
+ [15, 8, 1],
55
+ [18, 8, 1],
56
+ [21, 8, 1],
57
+ [24, 8, 1],
58
+ [27, 8, 1],
59
+ ])
60
+
61
+ deepStrictEqual(started, 3)
62
+ })
63
+ })
64
+ })
@@ -0,0 +1,143 @@
1
+ import * as Effect from '@effect/core/io/Effect'
2
+ import * as Fiber from '@effect/core/io/Fiber'
3
+ import { pipe } from '@fp-ts/data/Function'
4
+ import * as HashSet from '@tsplus/stdlib/collections/HashSet'
5
+ import * as ImmutableMap from '@tsplus/stdlib/collections/ImmutableMap'
6
+ import { AtomicReference } from '@tsplus/stdlib/data/AtomicReference'
7
+ import { identity } from '@tsplus/stdlib/data/Function'
8
+ import * as Maybe from '@tsplus/stdlib/data/Maybe'
9
+
10
+ import { Emitter, Fx } from './Fx.js'
11
+ import { withDynamicCountdownLatch } from './_internal.js'
12
+
13
+ export function exhaustMapList<A, R2, E2, B, A1 = A>(
14
+ f: (a: A) => Fx<R2, E2, B>,
15
+ selector: (a: A) => A1 = identity as any,
16
+ ) {
17
+ return <R, E>(fx: Fx<R, E, ReadonlyArray<A>>): Fx<R | R2, E | E2, ReadonlyArray<B>> =>
18
+ Fx((emitter) =>
19
+ pipe(
20
+ Effect.sync(() => new AtomicReference(ImmutableMap.empty<A1, Fiber.Fiber<E2, unknown>>())),
21
+ Effect.zip(Effect.sync(() => new AtomicReference<ReadonlyArray<A>>([]))), // Must use Array to maintain order
22
+ Effect.zip(Effect.sync(() => new AtomicReference(ImmutableMap.empty<A1, B>()))),
23
+ Effect.flatMap(([[fibersMapRef, previousValuesRef], valuesRef]) => {
24
+ const emitIfReady = pipe(
25
+ Effect.sync(() => previousValuesRef.get),
26
+ Effect.zip(Effect.sync(() => valuesRef.get)),
27
+ Effect.flatMap(([previousValues, values]) => {
28
+ const vals = previousValues
29
+ .map((a) => pipe(values, ImmutableMap.get(selector(a))))
30
+ .filter(Maybe.isSome)
31
+ .map((x) => x.value)
32
+
33
+ if (vals.length === previousValues.length) {
34
+ return emitter.emit(vals)
35
+ }
36
+
37
+ return Effect.unit
38
+ }),
39
+ )
40
+
41
+ return withDynamicCountdownLatch(
42
+ 1,
43
+ ({ latch, increment }) =>
44
+ pipe(
45
+ fx.run(
46
+ Emitter(
47
+ (as) =>
48
+ Effect.suspendSucceed(() => {
49
+ const fibersMap = fibersMapRef.get
50
+ const previous = HashSet.make<readonly A[]>(...previousValuesRef.get)
51
+ const current = HashSet.make<readonly A[]>(...as)
52
+ const toStart = HashSet.difference(previous)(current)
53
+ const toCancel = HashSet.difference(current)(previous)
54
+
55
+ previousValuesRef.set(as)
56
+
57
+ // If the input values were just reordered, go ahead and emit
58
+ if (HashSet.size(toStart) === 0 && HashSet.size(toCancel) === 0) {
59
+ return emitIfReady
60
+ }
61
+
62
+ return pipe(
63
+ Effect.forEachParDiscard(toCancel, (a) =>
64
+ pipe(
65
+ fibersMap,
66
+ ImmutableMap.get(selector(a)),
67
+ Maybe.fold(
68
+ () => Effect.unit,
69
+ (fiber) =>
70
+ pipe(
71
+ Fiber.interrupt(fiber),
72
+ Effect.zipRight(
73
+ Effect.sync(() => {
74
+ const a1 = selector(a)
75
+ fibersMapRef.set(ImmutableMap.remove(a1)(fibersMapRef.get))
76
+ valuesRef.set(ImmutableMap.remove(a1)(valuesRef.get))
77
+ }),
78
+ ),
79
+ Effect.zipRight(latch.countDown),
80
+ ),
81
+ ),
82
+ ),
83
+ ),
84
+ Effect.zipParRight(
85
+ Effect.forEachDiscard(toStart, (a) =>
86
+ pipe(
87
+ increment,
88
+ Effect.flatMap(() =>
89
+ Effect.forkScoped(
90
+ f(a).run(
91
+ Emitter(
92
+ (b) =>
93
+ pipe(
94
+ Effect.sync(() =>
95
+ valuesRef.set(
96
+ ImmutableMap.set(selector(a), b)(valuesRef.get),
97
+ ),
98
+ ),
99
+ Effect.zipRight(emitIfReady),
100
+ ),
101
+ emitter.failCause,
102
+ pipe(
103
+ Effect.sync(() =>
104
+ fibersMapRef.set(
105
+ ImmutableMap.remove(selector(a))(fibersMapRef.get),
106
+ ),
107
+ ),
108
+ Effect.zipRight(latch.countDown),
109
+ ),
110
+ ),
111
+ ),
112
+ ),
113
+ ),
114
+ Effect.tap((fiber) =>
115
+ Effect.sync(() =>
116
+ fibersMapRef.set(
117
+ pipe(
118
+ fibersMapRef.get,
119
+ ImmutableMap.set<A1, Fiber.Fiber<E2, unknown>>(
120
+ selector(a),
121
+ fiber,
122
+ ),
123
+ ),
124
+ ),
125
+ ),
126
+ ),
127
+ ),
128
+ ),
129
+ ),
130
+ Effect.forkScoped,
131
+ )
132
+ }),
133
+ emitter.failCause,
134
+ latch.countDown,
135
+ ),
136
+ ),
137
+ ),
138
+ emitter.end,
139
+ )
140
+ }),
141
+ ),
142
+ )
143
+ }
package/src/index.ts CHANGED
@@ -5,6 +5,7 @@ export * from './delay.js'
5
5
  export * from './during.js'
6
6
  export * from './exhaustMap.js'
7
7
  export * from './exhaustMapLatest.js'
8
+ export * from './exhaustMapList.js'
8
9
  export * from './filterLoop.js'
9
10
  export * from './filterMap.js'
10
11
  export * from './flatMap.js'
package/src/until.test.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { deepStrictEqual } from 'assert'
2
2
 
3
3
  import * as Effect from '@effect/core/io/Effect'
4
+ import * as Fiber from '@effect/core/io/Fiber'
5
+ import * as TestClock from '@effect/core/testing/TestClock'
6
+ import { TestEnvironment } from '@effect/core/testing/TestEnvironment'
4
7
  import { pipe } from '@fp-ts/data/Function'
5
8
  import { millis } from '@tsplus/stdlib/data/Duration'
6
9
 
@@ -9,10 +12,24 @@ import * as Fx from './index.js'
9
12
  describe(import.meta.url, () => {
10
13
  describe(Fx.until.name, () => {
11
14
  it('runs a stream until a signal is emitted to stop', async () => {
12
- const test = pipe(Fx.periodic(millis(20)), Fx.until(Fx.at(millis(200))(null)), Fx.runCollect)
15
+ const fx = pipe(Fx.periodic(millis(20)), Fx.until(Fx.at(millis(200))(null)))
16
+
17
+ const test = pipe(
18
+ Effect.gen(function* ($) {
19
+ const fiber = yield* $(pipe(fx, Fx.runCollect, Effect.fork))
20
+
21
+ for (let i = 0; i < 20; i++) {
22
+ yield* $(TestClock.adjust(millis(10)))
23
+ }
24
+
25
+ return yield* $(Fiber.join(fiber))
26
+ }),
27
+ Effect.provideLayer(TestEnvironment),
28
+ )
29
+
13
30
  const events = await Effect.unsafeRunPromise(test)
14
31
 
15
- deepStrictEqual(events.length, 9)
32
+ deepStrictEqual(events.length, 10)
16
33
  })
17
34
  })
18
35
  })