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

consider extending IActivity with IActivityWithThroughput<IDisposable> #126

Open
BryanWilhite opened this issue Jun 27, 2021 · 0 comments
Open
Assignees

Comments

@BryanWilhite
Copy link
Owner

the IActivity space in the Core recognizes input and output but not throughput (which I argue is characteristic of types implementing IDisposable); the following intends to address throughput:

public interface IActivityWithThroughput<IDisposable> : IActivity
{
    void Start(Action<IDisposable> throughputAction)
}

public interface IActivityWithTaskThroughput<IDisposable> : IActivity
{
    Task StartAsync(Action<IDisposable> throughputAction)
}

📖 http://songhayblog.azurewebsites.net/entry/2021-06-26-studio-status-report-2021-06/

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

No branches or pull requests

1 participant