Skip to content

Configure cloning of data to happen on specific paths #75

Open
@dumconstantin

Description

@dumconstantin

Currently, all producers will receive cloned data. This might be a speed issue when dealing with high-velocity data so, with proper measures of not modifying the references, producers can handle un-cloned data without tampering with the state.

As such, some paths should be excluded from cloning - or this should be an inclusion model instead:

createEngine({
  state: { ... },
  producers: [...],
  pathsToClone: [Path.items, Path.foo, Path.bam]
})

By not providing the pathsToClone property all data will be cloned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions