Skip to content

add Reporter utility #1

@pbnjay

Description

@pbnjay

It would be useful to get notifications when long-running code uses too much memory. Then it could dynamically tune parallelism to ensure it doesn't overcommit.

Something similar to this interface would likely work:

type ReporterFunc func(percent float64)
func NewReporter(interval time.Duration, reporter ReporterFunc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions