@typed/fx 0.0.19 → 0.0.21

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"},{"size":1543,"mtime":1667245032170,"results":"75","hashOfConfig":"76"},{"size":2390,"mtime":1666909836963,"results":"77","hashOfConfig":"76"},{"size":919,"mtime":1666901217496,"results":"78","hashOfConfig":"76"},{"size":2060,"mtime":1666901217496,"results":"79","hashOfConfig":"76"},{"size":591,"mtime":1666901217497,"results":"80","hashOfConfig":"76"},{"size":522,"mtime":1666901217497,"results":"81","hashOfConfig":"76"},{"size":1617,"mtime":1666901217497,"results":"82","hashOfConfig":"76"},{"size":701,"mtime":1666901217498,"results":"83","hashOfConfig":"76"},{"size":557,"mtime":1666909013033,"results":"84","hashOfConfig":"76"},{"size":1674,"mtime":1666909765898,"results":"85","hashOfConfig":"76"},{"size":1506,"mtime":1666901217500,"results":"86","hashOfConfig":"76"},{"size":1216,"mtime":1667243469286,"results":"87","hashOfConfig":"76"},{"size":706,"mtime":1666906589152,"results":"88","hashOfConfig":"76"},{"size":3822,"mtime":1667245505029,"results":"89","hashOfConfig":"76"},{"size":1443,"mtime":1666901217502,"results":"90","hashOfConfig":"76"},{"size":3501,"mtime":1667336061181,"results":"91","hashOfConfig":"76"},{"size":1272,"mtime":1667266343718,"results":"92","hashOfConfig":"76"},{"size":530,"mtime":1666901217504,"results":"93","hashOfConfig":"76"},{"size":977,"mtime":1666901217505,"results":"94","hashOfConfig":"76"},{"size":1293,"mtime":1666901217505,"results":"95","hashOfConfig":"76"},{"size":3363,"mtime":1667243508744,"results":"96","hashOfConfig":"76"},{"size":1034,"mtime":1666901391894,"results":"97","hashOfConfig":"76"},{"size":648,"mtime":1666901217507,"results":"98","hashOfConfig":"76"},{"size":429,"mtime":1666900225601,"results":"99","hashOfConfig":"76"},{"size":2095,"mtime":1666901217508,"results":"100","hashOfConfig":"76"},{"size":2515,"mtime":1666901217509,"results":"101","hashOfConfig":"76"},{"size":1010,"mtime":1666909377506,"results":"102","hashOfConfig":"76"},{"size":959,"mtime":1666901217510,"results":"103","hashOfConfig":"76"},{"size":1300,"mtime":1666901217511,"results":"104","hashOfConfig":"76"},{"size":530,"mtime":1666901217511,"results":"105","hashOfConfig":"76"},{"size":1145,"mtime":1666901217511,"results":"106","hashOfConfig":"76"},{"size":1543,"mtime":1667245692042,"results":"107","hashOfConfig":"76"},{"size":152,"mtime":1666901217512,"results":"108","hashOfConfig":"76"},{"size":976,"mtime":1666901217513,"results":"109","hashOfConfig":"76"},{"size":1628,"mtime":1666901217513,"results":"110","hashOfConfig":"76"},{"size":777,"mtime":1666901217514,"results":"111","hashOfConfig":"76"},{"size":527,"mtime":1666901217515,"results":"112","hashOfConfig":"76"},{"size":1810,"mtime":1666901217515,"results":"113","hashOfConfig":"76"},{"size":1672,"mtime":1666901217516,"results":"114","hashOfConfig":"76"},{"size":577,"mtime":1666910433646,"results":"115","hashOfConfig":"76"},{"size":859,"mtime":1666909733301,"results":"116","hashOfConfig":"76"},{"size":832,"mtime":1666901217517,"results":"117","hashOfConfig":"76"},{"size":2163,"mtime":1666901217517,"results":"118","hashOfConfig":"76"},{"size":654,"mtime":1666901217496,"results":"119","hashOfConfig":"76"},{"size":1195,"mtime":1666923294384,"results":"120","hashOfConfig":"76"},{"size":2106,"mtime":1666901217498,"results":"121","hashOfConfig":"76"},{"size":3589,"mtime":1667243426349,"results":"122","hashOfConfig":"76"},{"size":917,"mtime":1666901217499,"results":"123","hashOfConfig":"76"},{"size":2254,"mtime":1667243443566,"results":"124","hashOfConfig":"76"},{"size":715,"mtime":1666901217501,"results":"125","hashOfConfig":"76"},{"size":541,"mtime":1667245537329,"results":"126","hashOfConfig":"76"},{"size":988,"mtime":1666901217503,"results":"127","hashOfConfig":"76"},{"size":636,"mtime":1667244943264,"results":"128","hashOfConfig":"76"},{"size":557,"mtime":1666901217504,"results":"129","hashOfConfig":"76"},{"size":474,"mtime":1666901217504,"results":"130","hashOfConfig":"76"},{"size":578,"mtime":1666901217506,"results":"131","hashOfConfig":"76"},{"size":1519,"mtime":1666901217507,"results":"132","hashOfConfig":"76"},{"size":595,"mtime":1667245260972,"results":"133","hashOfConfig":"76"},{"size":747,"mtime":1667245189503,"results":"134","hashOfConfig":"76"},{"size":1006,"mtime":1667245204826,"results":"135","hashOfConfig":"76"},{"size":1535,"mtime":1666901217509,"results":"136","hashOfConfig":"76"},{"size":1202,"mtime":1666923495584,"results":"137","hashOfConfig":"76"},{"size":770,"mtime":1666901217510,"results":"138","hashOfConfig":"76"},{"size":1116,"mtime":1666901217510,"results":"139","hashOfConfig":"76"},{"size":1270,"mtime":1666901217512,"results":"140","hashOfConfig":"76"},{"size":1080,"mtime":1666901217513,"results":"141","hashOfConfig":"76"},{"size":656,"mtime":1666901217514,"results":"142","hashOfConfig":"76"},{"size":695,"mtime":1667338167016,"results":"143","hashOfConfig":"76"},{"size":1607,"mtime":1667338167016,"results":"144","hashOfConfig":"76"},{"size":597,"mtime":1666901217517,"results":"145","hashOfConfig":"76"},{"size":1364,"mtime":1666901217517,"results":"146","hashOfConfig":"76"},{"size":7890,"mtime":1667341377444,"results":"147","hashOfConfig":"76"},{"size":2436,"mtime":1667341341346,"results":"148","hashOfConfig":"76"},{"size":612,"mtime":1667266401971,"results":"149","hashOfConfig":"76"},{"filePath":"150","messages":"151","suppressedMessages":"152","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1338ja8",{"filePath":"153","messages":"154","suppressedMessages":"155","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"156","messages":"157","suppressedMessages":"158","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"159","messages":"160","suppressedMessages":"161","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","suppressedMessages":"164","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"165","messages":"166","suppressedMessages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","suppressedMessages":"170","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"171","messages":"172","suppressedMessages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"174","messages":"175","suppressedMessages":"176","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"177","messages":"178","suppressedMessages":"179","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"180","messages":"181","suppressedMessages":"182","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"183","messages":"184","suppressedMessages":"185","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"186","messages":"187","suppressedMessages":"188","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"189","messages":"190","suppressedMessages":"191","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"192","messages":"193","suppressedMessages":"194","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"195","messages":"196","suppressedMessages":"197","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"198","messages":"199","suppressedMessages":"200","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"201","messages":"202","suppressedMessages":"203","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"204","messages":"205","suppressedMessages":"206","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"207","messages":"208","suppressedMessages":"209","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"210","messages":"211","suppressedMessages":"212","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"213","messages":"214","suppressedMessages":"215","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"216","messages":"217","suppressedMessages":"218","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"219","messages":"220","suppressedMessages":"221","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"222","messages":"223","suppressedMessages":"224","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"225","messages":"226","suppressedMessages":"227","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"228","messages":"229","suppressedMessages":"230","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"231","messages":"232","suppressedMessages":"233","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"234","messages":"235","suppressedMessages":"236","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"237","messages":"238","suppressedMessages":"239","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"240","messages":"241","suppressedMessages":"242","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"243","messages":"244","suppressedMessages":"245","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"246","messages":"247","suppressedMessages":"248","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"249","messages":"250","suppressedMessages":"251","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"252","messages":"253","suppressedMessages":"254","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"255","messages":"256","suppressedMessages":"257","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"258","messages":"259","suppressedMessages":"260","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"261","messages":"262","suppressedMessages":"263","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"264","messages":"265","suppressedMessages":"266","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"267","messages":"268","suppressedMessages":"269","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"270","messages":"271","suppressedMessages":"272","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"273","messages":"274","suppressedMessages":"275","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"276","messages":"277","suppressedMessages":"278","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"279","messages":"280","suppressedMessages":"281","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"282","messages":"283","suppressedMessages":"284","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"285","messages":"286","suppressedMessages":"287","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"288","messages":"289","suppressedMessages":"290","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"291","messages":"292","suppressedMessages":"293","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"294","messages":"295","suppressedMessages":"296","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"297","messages":"298","suppressedMessages":"299","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"300","messages":"301","suppressedMessages":"302","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"303","messages":"304","suppressedMessages":"305","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"306","messages":"307","suppressedMessages":"308","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"309","messages":"310","suppressedMessages":"311","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"312","messages":"313","suppressedMessages":"314","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"315","messages":"316","suppressedMessages":"317","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"318","messages":"319","suppressedMessages":"320","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"321","messages":"322","suppressedMessages":"323","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"324","messages":"325","suppressedMessages":"326","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"327","messages":"328","suppressedMessages":"329","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"330","messages":"331","suppressedMessages":"332","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"333","messages":"334","suppressedMessages":"335","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"336","messages":"337","suppressedMessages":"338","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"339","messages":"340","suppressedMessages":"341","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"342","messages":"343","suppressedMessages":"344","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"345","messages":"346","suppressedMessages":"347","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"348","messages":"349","suppressedMessages":"350","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"351","messages":"352","suppressedMessages":"353","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"354","messages":"355","suppressedMessages":"356","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"357","messages":"358","suppressedMessages":"359","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"360","messages":"361","suppressedMessages":"362","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"363","messages":"364","suppressedMessages":"365","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"366","messages":"367","suppressedMessages":"368","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"369","messages":"370","suppressedMessages":"371","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/TylorSteinberger/code/tylors/fx/src/Fx.ts",[],["372","373","374","375","376","377"],"/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",[],[],{"ruleId":"378","severity":1,"message":"379","line":22,"column":63,"nodeType":"380","messageId":"381","endLine":22,"endColumn":65,"suppressions":"382"},{"ruleId":"378","severity":1,"message":"383","line":22,"column":73,"nodeType":"380","messageId":"381","endLine":22,"endColumn":75,"suppressions":"384"},{"ruleId":"378","severity":1,"message":"385","line":23,"column":51,"nodeType":"380","messageId":"381","endLine":23,"endColumn":53,"suppressions":"386"},{"ruleId":"378","severity":1,"message":"383","line":23,"column":70,"nodeType":"380","messageId":"381","endLine":23,"endColumn":72,"suppressions":"387"},{"ruleId":"378","severity":1,"message":"385","line":24,"column":51,"nodeType":"380","messageId":"381","endLine":24,"endColumn":53,"suppressions":"388"},{"ruleId":"378","severity":1,"message":"379","line":24,"column":61,"nodeType":"380","messageId":"381","endLine":24,"endColumn":63,"suppressions":"389"},"@typescript-eslint/no-unused-vars","'_E' is defined but never used.","Identifier","unusedVar",["390"],"'_A' is defined but never used.",["391"],"'_R' is defined but never used.",["392"],["393"],["394"],["395"],{"kind":"396","justification":"397"},{"kind":"396","justification":"397"},{"kind":"396","justification":"397"},{"kind":"396","justification":"397"},{"kind":"396","justification":"397"},{"kind":"396","justification":"397"},"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"},{"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":2060,"mtime":1666901217496,"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":3501,"mtime":1667336061181,"results":"96","hashOfConfig":"81"},{"size":1374,"mtime":1667360519364,"results":"97","hashOfConfig":"81"},{"size":530,"mtime":1666901217504,"results":"98","hashOfConfig":"81"},{"size":977,"mtime":1666901217505,"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":2163,"mtime":1666901217517,"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":1667360547796,"results":"152","hashOfConfig":"81"},{"size":2436,"mtime":1667341341346,"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",""]
@@ -0,0 +1,3 @@
1
+ import { Fx } from './Fx.js';
2
+ export declare function exhaustMap<A, R2, E2, B>(f: (a: A) => Fx<R2, E2, B>): <R, E>(fx: Fx<R, E, A>) => Fx<R2 | R, E2 | E, B>;
3
+ //# sourceMappingURL=exhaustMap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exhaustMap.d.ts","sourceRoot":"","sources":["../src/exhaustMap.ts"],"names":[],"mappings":"AAKA,OAAO,EAAW,EAAE,EAAE,MAAM,SAAS,CAAA;AAGrC,wBAAgB,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,oDAwClE"}
@@ -0,0 +1,38 @@
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.exhaustMap = void 0;
27
+ const Effect = __importStar(require("@effect/core/io/Effect"));
28
+ const Ref = __importStar(require("@effect/core/io/Ref"));
29
+ const Function_1 = require("@fp-ts/data/Function");
30
+ const Fx_js_1 = require("./Fx.js");
31
+ const _internal_js_1 = require("./_internal.js");
32
+ function exhaustMap(f) {
33
+ return (fx) => (0, Fx_js_1.Fx)((emitter) => (0, Function_1.pipe)(Ref.makeSynchronized(() => null), Effect.flatMap((ref) => (0, _internal_js_1.withDynamicCountdownLatch)(1, ({ increment, latch }) => fx.run((0, Fx_js_1.Emitter)((a) => ref.updateEffect((fiber) => fiber
34
+ ? Effect.succeed(fiber)
35
+ : (0, Function_1.pipe)(increment, Effect.flatMap(() => Effect.forkScoped(f(a).run((0, Fx_js_1.Emitter)(emitter.emit, (e) => (0, Function_1.pipe)(ref.set(null), Effect.zipRight(emitter.failCause(e))), (0, Function_1.pipe)(ref.set(null), Effect.zipRight(latch.countDown)))))))), emitter.failCause, latch.countDown)), emitter.end))));
36
+ }
37
+ exports.exhaustMap = exhaustMap;
38
+ //# sourceMappingURL=exhaustMap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exhaustMap.js","sourceRoot":"","sources":["../src/exhaustMap.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAAgD;AAEhD,yDAA0C;AAC1C,mDAA2C;AAE3C,mCAAqC;AACrC,iDAA0D;AAE1D,SAAgB,UAAU,CAAe,CAA0B;IACjE,OAAO,CAAO,EAAe,EAAyB,EAAE,CACtD,IAAA,UAAE,EAAC,CAAK,OAA+B,EAAE,EAAE,CACzC,IAAA,eAAI,EACF,GAAG,CAAC,gBAAgB,CAAqC,GAAG,EAAE,CAAC,IAAI,CAAC,EACpE,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CACrB,IAAA,wCAAyB,EACvB,CAAC,EACD,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE,CACvB,EAAE,CAAC,GAAG,CACJ,IAAA,eAAO,EACL,CAAC,CAAC,EAAE,EAAE,CACJ,GAAG,CAAC,YAAY,CAAC,CAAC,KAAK,EAAE,EAAE,CACzB,KAAK;QACH,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC;QACvB,CAAC,CAAC,IAAA,eAAI,EACF,SAAS,EACT,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAClB,MAAM,CAAC,UAAU,CACf,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CACN,IAAA,eAAO,EACL,OAAO,CAAC,IAAI,EACZ,CAAC,CAAC,EAAE,EAAE,CACJ,IAAA,eAAI,EAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,EAC5D,IAAA,eAAI,EAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CACtD,CACF,CACF,CACF,CACF,CACN,EACH,OAAO,CAAC,SAAS,EACjB,KAAK,CAAC,SAAS,CAChB,CACF,EACH,OAAO,CAAC,GAAG,CACZ,CACF,CACF,CACF,CAAA;AACL,CAAC;AAxCD,gCAwCC"}
@@ -0,0 +1,3 @@
1
+ import { Fx } from './Fx.js';
2
+ export declare function exhaustMapLatest<A, R2, E2, B>(f: (a: A) => Fx<R2, E2, B>): <R, E>(fx: Fx<R, E, A>) => Fx<R2 | R, E2 | E, B>;
3
+ //# sourceMappingURL=exhaustMapLatest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exhaustMapLatest.d.ts","sourceRoot":"","sources":["../src/exhaustMapLatest.ts"],"names":[],"mappings":"AAMA,OAAO,EAAW,EAAE,EAAE,MAAM,SAAS,CAAA;AAGrC,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,oDAiDxE"}
@@ -0,0 +1,44 @@
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.exhaustMapLatest = void 0;
27
+ const Effect = __importStar(require("@effect/core/io/Effect"));
28
+ const Ref = __importStar(require("@effect/core/io/Ref"));
29
+ const Function_1 = require("@fp-ts/data/Function");
30
+ const Fx_js_1 = require("./Fx.js");
31
+ const _internal_js_1 = require("./_internal.js");
32
+ function exhaustMapLatest(f) {
33
+ return (fx) => (0, Fx_js_1.Fx)((emitter) => (0, Function_1.pipe)(Ref.makeSynchronized(() => null), Effect.zip(Ref.makeRef(() => null)), Effect.flatMap(([fiberRef, nextFxRef]) => {
34
+ return (0, _internal_js_1.withDynamicCountdownLatch)(1, ({ increment, latch }) => {
35
+ const runNextFx = (0, Function_1.pipe)(nextFxRef.getAndSet(null), Effect.flatMap((fx) => fx ? fiberRef.updateEffect(() => runFx(fx)) : latch.countDown));
36
+ const runFx = (fx) => Effect.forkScoped(fx.run((0, Fx_js_1.Emitter)(emitter.emit, (e) => (0, Function_1.pipe)(fiberRef.set(null), Effect.zipRight(emitter.failCause(e))), (0, Function_1.pipe)(fiberRef.set(null), Effect.zipRight(runNextFx)))));
37
+ return fx.run((0, Fx_js_1.Emitter)((a) => fiberRef.updateEffect((fiber) => fiber
38
+ ? (0, Function_1.pipe)(nextFxRef.set(f(a)), Effect.as(fiber))
39
+ : (0, Function_1.pipe)(increment, Effect.flatMap(() => runFx(f(a))))), emitter.failCause, latch.countDown));
40
+ }, emitter.end);
41
+ })));
42
+ }
43
+ exports.exhaustMapLatest = exhaustMapLatest;
44
+ //# sourceMappingURL=exhaustMapLatest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exhaustMapLatest.js","sourceRoot":"","sources":["../src/exhaustMapLatest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAAgD;AAEhD,yDAA0C;AAE1C,mDAA2C;AAE3C,mCAAqC;AACrC,iDAA0D;AAE1D,SAAgB,gBAAgB,CAAe,CAA0B;IACvE,OAAO,CAAO,EAAe,EAAyB,EAAE,CACtD,IAAA,UAAE,EAAC,CAAK,OAA+B,EAAE,EAAE,CACzC,IAAA,eAAI,EACF,GAAG,CAAC,gBAAgB,CAAqC,GAAG,EAAE,CAAC,IAAI,CAAC,EACpE,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAuB,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,EACzD,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,EAAE;QACvC,OAAO,IAAA,wCAAyB,EAC9B,CAAC,EACD,CAAC,EAAE,SAAS,EAAE,KAAK,EA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ACF,CAAA;QACH,CAAC,EACD,OAAO,CAAC,GAAG,CACZ,CAAA;IACH,CAAC,CAAC,CACH,CACF,CAAA;AACL,CAAC;AAjDD,4CAiDC"}
package/cjs/index.d.ts CHANGED
@@ -3,6 +3,8 @@ export * from './continueWith.js';
3
3
  export * from './debounce.js';
4
4
  export * from './delay.js';
5
5
  export * from './during.js';
6
+ export * from './exhaustMap.js';
7
+ export * from './exhaustMapLatest.js';
6
8
  export * from './filterLoop.js';
7
9
  export * from './filterMap.js';
8
10
  export * from './flatMap.js';
@@ -22,6 +24,7 @@ export * from './runCollect.js';
22
24
  export * from './runDrain.js';
23
25
  export * from './runObserve.js';
24
26
  export * from './runReduce.js';
27
+ export * from './scanEffect.js';
25
28
  export * from './scheduled.js';
26
29
  export * from './since.js';
27
30
  export * from './skipRepeats.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,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,gBA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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/cjs/index.js CHANGED
@@ -19,6 +19,8 @@ __exportStar(require("./continueWith.js"), exports);
19
19
  __exportStar(require("./debounce.js"), exports);
20
20
  __exportStar(require("./delay.js"), exports);
21
21
  __exportStar(require("./during.js"), exports);
22
+ __exportStar(require("./exhaustMap.js"), exports);
23
+ __exportStar(require("./exhaustMapLatest.js"), exports);
22
24
  __exportStar(require("./filterLoop.js"), exports);
23
25
  __exportStar(require("./filterMap.js"), exports);
24
26
  __exportStar(require("./flatMap.js"), exports);
@@ -38,6 +40,7 @@ __exportStar(require("./runCollect.js"), exports);
38
40
  __exportStar(require("./runDrain.js"), exports);
39
41
  __exportStar(require("./runObserve.js"), exports);
40
42
  __exportStar(require("./runReduce.js"), exports);
43
+ __exportStar(require("./scanEffect.js"), exports);
41
44
  __exportStar(require("./scheduled.js"), exports);
42
45
  __exportStar(require("./since.js"), exports);
43
46
  __exportStar(require("./skipRepeats.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,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B,iDAA8B;AAC9B,iDAA8B;AAC9B,gDAA6B;AAC7B,iDAA8B;AAC9B,6CAA0B;AAC1B,mDAAgC;AAChC,2CAAwB;AACxB,mDAAgC"}
@@ -0,0 +1,4 @@
1
+ import * as Effect from '@effect/core/io/Effect';
2
+ import { Fx } from './Fx.js';
3
+ export declare function scanEffect<A, B, R2, E2>(seed: A, f: (a: A, B: B) => Effect.Effect<R2, E2, A>): <R, E>(fx: Fx<R, E, B>) => Fx<R2 | R, E2 | E, A>;
4
+ //# sourceMappingURL=scanEffect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scanEffect.d.ts","sourceRoot":"","sources":["../src/scanEffect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAA;AAIhD,OAAO,EAAW,EAAE,EAAE,MAAM,SAAS,CAAA;AAErC,wBAAgB,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,oDAyB5F"}
@@ -0,0 +1,35 @@
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.scanEffect = void 0;
27
+ const Effect = __importStar(require("@effect/core/io/Effect"));
28
+ const Ref = __importStar(require("@effect/core/io/Ref"));
29
+ const Function_1 = require("@fp-ts/data/Function");
30
+ const Fx_js_1 = require("./Fx.js");
31
+ function scanEffect(seed, f) {
32
+ return (fx) => (0, Fx_js_1.Fx)((emitter) => (0, Function_1.pipe)(Ref.makeSynchronized(() => seed), Effect.flatMap((ref) => (0, Function_1.pipe)(emitter.emit(seed), Effect.flatMap(() => fx.run((0, Fx_js_1.Emitter)((b) => (0, Function_1.pipe)(ref.updateAndGetEffect((a) => f(a, b)), Effect.foldCauseEffect(emitter.failCause, emitter.emit)), emitter.failCause, emitter.end)))))));
33
+ }
34
+ exports.scanEffect = scanEffect;
35
+ //# sourceMappingURL=scanEffect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scanEffect.js","sourceRoot":"","sources":["../src/scanEffect.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAAgD;AAChD,yDAA0C;AAC1C,mDAA2C;AAE3C,mCAAqC;AAErC,SAAgB,UAAU,CAAe,IAAO,EAAE,CAA2C;IAC3F,OAAO,CAAO,EAAe,EAAyB,EAAE,CACtD,IAAA,UAAE,EAAC,CAAK,OAA+B,EAAE,EAAE,CACzC,IAAA,eAAI,EACF,GAAG,CAAC,gBAAgB,CAAI,GAAG,EAAE,CAAC,IAAI,CAAC,EACnC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CACrB,IAAA,eAAI,EACF,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAClB,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAClB,EAAE,CAAC,GAAG,CACJ,IAAA,eAAO,EACL,CAAC,CAAC,EAAE,EAAE,CACJ,IAAA,eAAI,EACF,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EACtC,MAAM,CAAC,eAAe,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CACxD,EACH,OAAO,CAAC,SAAS,EACjB,OAAO,CAAC,GAAG,CACZ,CACF,CACF,CACF,CACF,CACF,CACF,CAAA;AACL,CAAC;AAzBD,gCAyBC"}
@@ -0,0 +1,3 @@
1
+ import { Fx } from './Fx.js';
2
+ export declare function exhaustMap<A, R2, E2, B>(f: (a: A) => Fx<R2, E2, B>): <R, E>(fx: Fx<R, E, A>) => Fx<R2 | R, E2 | E, B>;
3
+ //# sourceMappingURL=exhaustMap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exhaustMap.d.ts","sourceRoot":"","sources":["../src/exhaustMap.ts"],"names":[],"mappings":"AAKA,OAAO,EAAW,EAAE,EAAE,MAAM,SAAS,CAAA;AAGrC,wBAAgB,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,oDAwClE"}
@@ -0,0 +1,11 @@
1
+ import * as Effect from '@effect/core/io/Effect';
2
+ import * as Ref from '@effect/core/io/Ref';
3
+ import { pipe } from '@fp-ts/data/Function';
4
+ import { Emitter, Fx } from './Fx.js';
5
+ import { withDynamicCountdownLatch } from './_internal.js';
6
+ export function exhaustMap(f) {
7
+ return (fx) => Fx((emitter) => pipe(Ref.makeSynchronized(() => null), Effect.flatMap((ref) => withDynamicCountdownLatch(1, ({ increment, latch }) => fx.run(Emitter((a) => ref.updateEffect((fiber) => fiber
8
+ ? Effect.succeed(fiber)
9
+ : pipe(increment, Effect.flatMap(() => Effect.forkScoped(f(a).run(Emitter(emitter.emit, (e) => pipe(ref.set(null), Effect.zipRight(emitter.failCause(e))), pipe(ref.set(null), Effect.zipRight(latch.countDown)))))))), emitter.failCause, latch.countDown)), emitter.end))));
10
+ }
11
+ //# sourceMappingURL=exhaustMap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exhaustMap.js","sourceRoot":"","sources":["../src/exhaustMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAA;AAEhD,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAE3C,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAA;AAE1D,MAAM,UAAU,UAAU,CAAe,CAA0B;IACjE,OAAO,CAAO,EAAe,EAAyB,EAAE,CACtD,EAAE,CAAC,CAAK,OAA+B,EAAE,EAAE,CACzC,IAAI,CACF,GAAG,CAAC,gBAAgB,CAAqC,GAAG,EAAE,CAAC,IAAI,CAAC,EACpE,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CACrB,yBAAyB,CACvB,CAAC,EACD,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE,CACvB,EAAE,CAAC,GAAG,CACJ,OAAO,CACL,CAAC,CAAC,EAAE,EAAE,CACJ,GAAG,CAAC,YAAY,CAAC,CAAC,KAAK,EAAE,EAAE,CACzB,KAAK;QACH,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC;QACvB,CAAC,CAAC,IAAI,CACF,SAAS,EACT,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAClB,MAAM,CAAC,UAAU,CACf,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CACN,OAAO,CACL,OAAO,CAAC,IAAI,EACZ,CAAC,CAAC,EAAE,EAAE,CACJ,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,EAC5D,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CACtD,CACF,CACF,CACF,CACF,CACN,EACH,OAAO,CAAC,SAAS,EACjB,KAAK,CAAC,SAAS,CAChB,CACF,EACH,OAAO,CAAC,GAAG,CACZ,CACF,CACF,CACF,CAAA;AACL,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Fx } from './Fx.js';
2
+ export declare function exhaustMapLatest<A, R2, E2, B>(f: (a: A) => Fx<R2, E2, B>): <R, E>(fx: Fx<R, E, A>) => Fx<R2 | R, E2 | E, B>;
3
+ //# sourceMappingURL=exhaustMapLatest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exhaustMapLatest.d.ts","sourceRoot":"","sources":["../src/exhaustMapLatest.ts"],"names":[],"mappings":"AAMA,OAAO,EAAW,EAAE,EAAE,MAAM,SAAS,CAAA;AAGrC,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,oDAiDxE"}
@@ -0,0 +1,17 @@
1
+ import * as Effect from '@effect/core/io/Effect';
2
+ import * as Ref from '@effect/core/io/Ref';
3
+ import { pipe } from '@fp-ts/data/Function';
4
+ import { Emitter, Fx } from './Fx.js';
5
+ import { withDynamicCountdownLatch } from './_internal.js';
6
+ export function exhaustMapLatest(f) {
7
+ return (fx) => Fx((emitter) => pipe(Ref.makeSynchronized(() => null), Effect.zip(Ref.makeRef(() => null)), Effect.flatMap(([fiberRef, nextFxRef]) => {
8
+ return withDynamicCountdownLatch(1, ({ increment, latch }) => {
9
+ const runNextFx = pipe(nextFxRef.getAndSet(null), Effect.flatMap((fx) => fx ? fiberRef.updateEffect(() => runFx(fx)) : latch.countDown));
10
+ const runFx = (fx) => Effect.forkScoped(fx.run(Emitter(emitter.emit, (e) => pipe(fiberRef.set(null), Effect.zipRight(emitter.failCause(e))), pipe(fiberRef.set(null), Effect.zipRight(runNextFx)))));
11
+ return fx.run(Emitter((a) => fiberRef.updateEffect((fiber) => fiber
12
+ ? pipe(nextFxRef.set(f(a)), Effect.as(fiber))
13
+ : pipe(increment, Effect.flatMap(() => runFx(f(a))))), emitter.failCause, latch.countDown));
14
+ }, emitter.end);
15
+ })));
16
+ }
17
+ //# sourceMappingURL=exhaustMapLatest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exhaustMapLatest.js","sourceRoot":"","sources":["../src/exhaustMapLatest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAA;AAEhD,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAA;AAE1C,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAE3C,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAA;AAE1D,MAAM,UAAU,gBAAgB,CAAe,CAA0B;IACvE,OAAO,CAAO,EAAe,EAAyB,EAAE,CACtD,EAAE,CAAC,CAAK,OAA+B,EAAE,EAAE,CACzC,IAAI,CACF,GAAG,CAAC,gBAAgB,CAAqC,GAAG,EAAE,CAAC,IAAI,CAAC,EACpE,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAuB,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,EACzD,MAAM,CAAC,OAAO,CA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AAC,CAAC,CAAC,CAClC,CACN,EACH,OAAO,CAAC,SAAS,EACjB,KAAK,CAAC,SAAS,CAChB,CACF,CAAA;QACH,CAAC,EACD,OAAO,CAAC,GAAG,CACZ,CAAA;IACH,CAAC,CAAC,CACH,CACF,CAAA;AACL,CAAC"}
package/esm/index.d.ts CHANGED
@@ -3,6 +3,8 @@ export * from './continueWith.js';
3
3
  export * from './debounce.js';
4
4
  export * from './delay.js';
5
5
  export * from './during.js';
6
+ export * from './exhaustMap.js';
7
+ export * from './exhaustMapLatest.js';
6
8
  export * from './filterLoop.js';
7
9
  export * from './filterMap.js';
8
10
  export * from './flatMap.js';
@@ -22,6 +24,7 @@ export * from './runCollect.js';
22
24
  export * from './runDrain.js';
23
25
  export * from './runObserve.js';
24
26
  export * from './runReduce.js';
27
+ export * from './scanEffect.js';
25
28
  export * from './scheduled.js';
26
29
  export * from './since.js';
27
30
  export * from './skipRepeats.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,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,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iB,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
@@ -3,6 +3,8 @@ export * from './continueWith.js';
3
3
  export * from './debounce.js';
4
4
  export * from './delay.js';
5
5
  export * from './during.js';
6
+ export * from './exhaustMap.js';
7
+ export * from './exhaustMapLatest.js';
6
8
  export * from './filterLoop.js';
7
9
  export * from './filterMap.js';
8
10
  export * from './flatMap.js';
@@ -22,6 +24,7 @@ export * from './runCollect.js';
22
24
  export * from './runDrain.js';
23
25
  export * from './runObserve.js';
24
26
  export * from './runReduce.js';
27
+ export * from './scanEffect.js';
25
28
  export * from './scheduled.js';
26
29
  export * from './since.js';
27
30
  export * from './skipRepeats.js';
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","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,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;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BAA0B,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"}
@@ -0,0 +1,4 @@
1
+ import * as Effect from '@effect/core/io/Effect';
2
+ import { Fx } from './Fx.js';
3
+ export declare function scanEffect<A, B, R2, E2>(seed: A, f: (a: A, B: B) => Effect.Effect<R2, E2, A>): <R, E>(fx: Fx<R, E, B>) => Fx<R2 | R, E2 | E, A>;
4
+ //# sourceMappingURL=scanEffect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scanEffect.d.ts","sourceRoot":"","sources":["../src/scanEffect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAA;AAIhD,OAAO,EAAW,EAAE,EAAE,MAAM,SAAS,CAAA;AAErC,wBAAgB,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,oDAyB5F"}
@@ -0,0 +1,8 @@
1
+ import * as Effect from '@effect/core/io/Effect';
2
+ import * as Ref from '@effect/core/io/Ref';
3
+ import { pipe } from '@fp-ts/data/Function';
4
+ import { Emitter, Fx } from './Fx.js';
5
+ export function scanEffect(seed, f) {
6
+ return (fx) => Fx((emitter) => pipe(Ref.makeSynchronized(() => seed), Effect.flatMap((ref) => pipe(emitter.emit(seed), Effect.flatMap(() => fx.run(Emitter((b) => pipe(ref.updateAndGetEffect((a) => f(a, b)), Effect.foldCauseEffect(emitter.failCause, emitter.emit)), emitter.failCause, emitter.end)))))));
7
+ }
8
+ //# sourceMappingURL=scanEffect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scanEffect.js","sourceRoot":"","sources":["../src/scanEffect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAA;AAChD,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAE3C,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAA;AAErC,MAAM,UAAU,UAAU,CAAe,IAAO,EAAE,CAA2C;IAC3F,OAAO,CAAO,EAAe,EAAyB,EAAE,CACtD,EAAE,CAAC,CAAK,OAA+B,EAAE,EAAE,CACzC,IAAI,CACF,GAAG,CAAC,gBAAgB,CAAI,GAAG,EAAE,CAAC,IAAI,CAAC,EACnC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CACrB,IAAI,CACF,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAClB,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAClB,EAAE,CAAC,GAAG,CACJ,OAAO,CACL,CAAC,CAAC,EAAE,EAAE,CACJ,IAAI,CACF,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EACtC,MAAM,CAAC,eAAe,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CACxD,EACH,OAAO,CAAC,SAAS,EACjB,OAAO,CAAC,GAAG,CACZ,CACF,CACF,CACF,CACF,CACF,CACF,CAAA;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typed/fx",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "description": "High-performance Asynchronous Effects",
5
5
  "type": "module",
6
6
  "main": "esm/index.js",
@@ -176,6 +176,26 @@
176
176
  "types": "./esm/during.d.ts"
177
177
  }
178
178
  },
179
+ "./exhaustMap": {
180
+ "require": {
181
+ "default": "./cjs/exhaustMap.js",
182
+ "types": "./cjs/exhaustMap.d.ts"
183
+ },
184
+ "import": {
185
+ "default": "./esm/exhaustMap.js",
186
+ "types": "./esm/exhaustMap.d.ts"
187
+ }
188
+ },
189
+ "./exhaustMapLatest": {
190
+ "require": {
191
+ "default": "./cjs/exhaustMapLatest.js",
192
+ "types": "./cjs/exhaustMapLatest.d.ts"
193
+ },
194
+ "import": {
195
+ "default": "./esm/exhaustMapLatest.js",
196
+ "types": "./esm/exhaustMapLatest.d.ts"
197
+ }
198
+ },
179
199
  "./filterLoop": {
180
200
  "require": {
181
201
  "default": "./cjs/filterLoop.js",
@@ -356,6 +376,16 @@
356
376
  "types": "./esm/runReduce.d.ts"
357
377
  }
358
378
  },
379
+ "./scanEffect": {
380
+ "require": {
381
+ "default": "./cjs/scanEffect.js",
382
+ "types": "./cjs/scanEffect.d.ts"
383
+ },
384
+ "import": {
385
+ "default": "./esm/scanEffect.js",
386
+ "types": "./esm/scanEffect.d.ts"
387
+ }
388
+ },
359
389
  "./scheduled": {
360
390
  "require": {
361
391
  "default": "./cjs/scheduled.js",
@@ -0,0 +1,35 @@
1
+ import { deepStrictEqual } from 'assert'
2
+
3
+ import * as Effect from '@effect/core/io/Effect'
4
+ import { pipe } from '@fp-ts/data/Function'
5
+ import * as Duration from '@tsplus/stdlib/data/Duration'
6
+
7
+ import * as Fx from './index.js'
8
+
9
+ describe(import.meta.url, () => {
10
+ describe(Fx.exhaustMap.name, () => {
11
+ it('allows chaining multiple synchronous streams', async () => {
12
+ const result = await pipe(
13
+ Fx.fromIterable([1, 2, 3]),
14
+ Fx.exhaustMap((n) => Fx.fromIterable([n, n, n])),
15
+ Fx.runCollect,
16
+
17
+ Effect.unsafeRunPromise,
18
+ )
19
+
20
+ deepStrictEqual(result, [1, 1, 1])
21
+ })
22
+
23
+ it('allows chaining multiple asynchronous streams', async () => {
24
+ const result = await pipe(
25
+ Fx.fromIterable([1, 2, 3]),
26
+ Fx.exhaustMap((n) => Fx.delay(Duration.millis(10))(Fx.fromIterable([n, n, n]))),
27
+ Fx.runCollect,
28
+
29
+ Effect.unsafeRunPromise,
30
+ )
31
+
32
+ deepStrictEqual(result, [1, 1, 1])
33
+ })
34
+ })
35
+ })
@@ -0,0 +1,49 @@
1
+ import * as Effect from '@effect/core/io/Effect'
2
+ import * as Fiber from '@effect/core/io/Fiber'
3
+ import * as Ref from '@effect/core/io/Ref'
4
+ import { pipe } from '@fp-ts/data/Function'
5
+
6
+ import { Emitter, Fx } from './Fx.js'
7
+ import { withDynamicCountdownLatch } from './_internal.js'
8
+
9
+ export function exhaustMap<A, R2, E2, B>(f: (a: A) => Fx<R2, E2, B>) {
10
+ return <R, E>(fx: Fx<R, E, A>): Fx<R | R2, E | E2, B> =>
11
+ Fx(<R3>(emitter: Emitter<R3, E | E2, B>) =>
12
+ pipe(
13
+ Ref.makeSynchronized<Fiber.Fiber<never, unknown> | null>(() => null),
14
+ Effect.flatMap((ref) =>
15
+ withDynamicCountdownLatch(
16
+ 1,
17
+ ({ increment, latch }) =>
18
+ fx.run(
19
+ Emitter(
20
+ (a) =>
21
+ ref.updateEffect((fiber) =>
22
+ fiber
23
+ ? Effect.succeed(fiber)
24
+ : pipe(
25
+ increment,
26
+ Effect.flatMap(() =>
27
+ Effect.forkScoped(
28
+ f(a).run(
29
+ Emitter(
30
+ emitter.emit,
31
+ (e) =>
32
+ pipe(ref.set(null), Effect.zipRight(emitter.failCause(e))),
33
+ pipe(ref.set(null), Effect.zipRight(latch.countDown)),
34
+ ),
35
+ ),
36
+ ),
37
+ ),
38
+ ),
39
+ ),
40
+ emitter.failCause,
41
+ latch.countDown,
42
+ ),
43
+ ),
44
+ emitter.end,
45
+ ),
46
+ ),
47
+ ),
48
+ )
49
+ }
@@ -0,0 +1,34 @@
1
+ import { deepStrictEqual } from 'assert'
2
+
3
+ import * as Effect from '@effect/core/io/Effect'
4
+ import { pipe } from '@fp-ts/data/Function'
5
+ import * as Duration from '@tsplus/stdlib/data/Duration'
6
+
7
+ import * as Fx from './index.js'
8
+
9
+ describe(import.meta.url, () => {
10
+ describe(Fx.exhaustMapLatest.name, () => {
11
+ it('allows chaining multiple synchronous streams', async () => {
12
+ const result = await pipe(
13
+ Fx.fromIterable([1, 2, 3]),
14
+ Fx.exhaustMapLatest((n) => Fx.fromIterable([n, n, n])),
15
+ Fx.runCollect,
16
+ Effect.unsafeRunPromise,
17
+ )
18
+
19
+ deepStrictEqual(result, [1, 1, 1, 3, 3, 3])
20
+ })
21
+
22
+ it('allows chaining multiple asynchronous streams', async () => {
23
+ const result = await pipe(
24
+ Fx.fromIterable([1, 2, 3]),
25
+ Fx.exhaustMapLatest((n) => Fx.delay(Duration.millis(10))(Fx.fromIterable([n, n, n]))),
26
+ Fx.runCollect,
27
+
28
+ Effect.unsafeRunPromise,
29
+ )
30
+
31
+ deepStrictEqual(result, [1, 1, 1, 3, 3, 3])
32
+ })
33
+ })
34
+ })
@@ -0,0 +1,59 @@
1
+ import * as Effect from '@effect/core/io/Effect'
2
+ import * as Fiber from '@effect/core/io/Fiber'
3
+ import * as Ref from '@effect/core/io/Ref'
4
+ import { Scope } from '@effect/core/io/Scope'
5
+ import { pipe } from '@fp-ts/data/Function'
6
+
7
+ import { Emitter, Fx } from './Fx.js'
8
+ import { withDynamicCountdownLatch } from './_internal.js'
9
+
10
+ export function exhaustMapLatest<A, R2, E2, B>(f: (a: A) => Fx<R2, E2, B>) {
11
+ return <R, E>(fx: Fx<R, E, A>): Fx<R | R2, E | E2, B> =>
12
+ Fx(<R3>(emitter: Emitter<R3, E | E2, B>) =>
13
+ pipe(
14
+ Ref.makeSynchronized<Fiber.Fiber<never, unknown> | null>(() => null),
15
+ Effect.zip(Ref.makeRef<Fx<R2, E2, B> | null>(() => null)),
16
+ Effect.flatMap(([fiberRef, nextFxRef]) => {
17
+ return withDynamicCountdownLatch(
18
+ 1,
19
+ ({ increment, latch }) => {
20
+ const runNextFx: Effect.Effect<R3 | R2 | Scope, never, void> = pipe(
21
+ nextFxRef.getAndSet(null),
22
+ Effect.flatMap((fx) =>
23
+ fx ? fiberRef.updateEffect(() => runFx(fx)) : latch.countDown,
24
+ ),
25
+ )
26
+
27
+ const runFx = (fx: Fx<R2, E2, B>) =>
28
+ Effect.forkScoped(
29
+ fx.run(
30
+ Emitter(
31
+ emitter.emit,
32
+ (e) => pipe(fiberRef.set(null), Effect.zipRight(emitter.failCause(e))),
33
+ pipe(fiberRef.set(null), Effect.zipRight(runNextFx)),
34
+ ),
35
+ ),
36
+ )
37
+
38
+ return fx.run(
39
+ Emitter(
40
+ (a) =>
41
+ fiberRef.updateEffect((fiber) =>
42
+ fiber
43
+ ? pipe(nextFxRef.set(f(a)), Effect.as(fiber))
44
+ : pipe(
45
+ increment,
46
+ Effect.flatMap(() => runFx(f(a))),
47
+ ),
48
+ ),
49
+ emitter.failCause,
50
+ latch.countDown,
51
+ ),
52
+ )
53
+ },
54
+ emitter.end,
55
+ )
56
+ }),
57
+ ),
58
+ )
59
+ }
package/src/index.ts CHANGED
@@ -3,6 +3,8 @@ export * from './continueWith.js'
3
3
  export * from './debounce.js'
4
4
  export * from './delay.js'
5
5
  export * from './during.js'
6
+ export * from './exhaustMap.js'
7
+ export * from './exhaustMapLatest.js'
6
8
  export * from './filterLoop.js'
7
9
  export * from './filterMap.js'
8
10
  export * from './flatMap.js'
@@ -22,6 +24,7 @@ export * from './runCollect.js'
22
24
  export * from './runDrain.js'
23
25
  export * from './runObserve.js'
24
26
  export * from './runReduce.js'
27
+ export * from './scanEffect.js'
25
28
  export * from './scheduled.js'
26
29
  export * from './since.js'
27
30
  export * from './skipRepeats.js'
@@ -0,0 +1,32 @@
1
+ import * as Effect from '@effect/core/io/Effect'
2
+ import * as Ref from '@effect/core/io/Ref'
3
+ import { pipe } from '@fp-ts/data/Function'
4
+
5
+ import { Emitter, Fx } from './Fx.js'
6
+
7
+ export function scanEffect<A, B, R2, E2>(seed: A, f: (a: A, B: B) => Effect.Effect<R2, E2, A>) {
8
+ return <R, E>(fx: Fx<R, E, B>): Fx<R | R2, E | E2, A> =>
9
+ Fx(<R3>(emitter: Emitter<R3, E | E2, A>) =>
10
+ pipe(
11
+ Ref.makeSynchronized<A>(() => seed),
12
+ Effect.flatMap((ref) =>
13
+ pipe(
14
+ emitter.emit(seed),
15
+ Effect.flatMap(() =>
16
+ fx.run(
17
+ Emitter(
18
+ (b) =>
19
+ pipe(
20
+ ref.updateAndGetEffect((a) => f(a, b)),
21
+ Effect.foldCauseEffect(emitter.failCause, emitter.emit),
22
+ ),
23
+ emitter.failCause,
24
+ emitter.end,
25
+ ),
26
+ ),
27
+ ),
28
+ ),
29
+ ),
30
+ ),
31
+ )
32
+ }