这是indexloc提供的服务,不要输入任何密码
Skip to content

Support 'batch' event in laconia-batch #2

@ceilfors

Description

@ceilfors

For us to be able to process items in laconia-batch, we can listen to 'item' events. These events only contain individual items. Whenever we have a use case to process item in 'batch', we are going to have to keep an array by ourselves when 'item' events are fired and process them in batch.

Currently supported:

.on('item', (laconiaContext, item) => ... )

Proposed:

.on('batch', (laconiaContext, items) => ... )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions