Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PIPELINE] Add CoProcess to allow goroutine in mask #38

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

youen
Copy link
Member

@youen youen commented May 30, 2021

This is a refactoring proposal before implementing #14.

@youen youen added the refactoring A refactoring label May 30, 2021
@youen youen marked this pull request as draft May 30, 2021 21:33
@youen youen requested a review from adrienaury May 30, 2021 21:34
type Processor interface {
Open() error
ProcessDictionary(Dictionary, Collector) error
}

// CoProcessor process many Dictionary from source and produce none, one or many element
type CoProcessor interface {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this is the new Processor interface and every Processor now needs to be a CoProcessor ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring A refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants