Skip to content

Split up poller #148

Description

@sergiu128

The OS-specific syscalls will live in Poller, but the actual dispatch will happen in another structure that owns Poller. Allows for better testing. For example:

func (r *Reactor) Run(timeout int) {
    events := r.poller.Poll(timeout)
    for _, e := range events { r.dispatch(event) }
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions