feat: Parser.foreach should concurrently process records as they are read

User-provided callback no longer blocks subsequent reads
This commit is contained in:
2024-05-03 10:41:33 -05:00
parent 02090c3129
commit e21260cd2c
9 changed files with 88 additions and 70 deletions

View File

@@ -15,6 +15,7 @@ workspace:
- foldable-traversable: ">=6.0.0 <7.0.0"
- foreign: ">=7.0.0 <8.0.0"
- foreign-object: ">=4.1.0 <5.0.0"
- fork
- integers: ">=6.0.0 <7.0.0"
- lists: ">=7.0.0 <8.0.0"
- maybe: ">=6.0.0 <7.0.0"
@@ -25,6 +26,7 @@ workspace:
- nullable: ">=6.0.0 <7.0.0"
- numbers: ">=9.0.1 <10.0.0"
- ordered-collections: ">=3.2.0 <4.0.0"
- parallel
- precise-datetime: ">=7.0.0 <8.0.0"
- prelude: ">=6.0.1 <7.0.0"
- record: ">=4.0.0 <5.0.0"
@@ -59,6 +61,7 @@ workspace:
- foldable-traversable
- foreign
- foreign-object
- fork
- formatters
- functions
- functors
@@ -339,6 +342,12 @@ packages:
- tuples
- typelevel-prelude
- unfoldable
fork:
type: registry
version: 6.0.0
integrity: sha256-X7u0SuCvFbLbzuNEKLBNuWjmcroqMqit4xEzpQwAP7E=
dependencies:
- aff
formatters:
type: registry
version: 7.0.0