-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Currently the methods that fetch data in DataSource require an effect type F with Par[F] and ConcurrentEffect[F].
Par is required due to the DataSource#batch implementation defaulting to running individual fetches in parallel. If we move away from it, Data sources that don't implement batching will run their fetches sequentially. Par[F] will still be required when creating or running a fetch to F, since is used when running multiple batches in parallel.
ConcurrentEffect is perhaps too restrictive, since we may not need the cancellation semantics that Concurrent provides. We could use Effect here, thoughts?
peterneyens
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested