Skip to content

[MTP v2] Add CancellationToken parameter to more async methods. #5342

@Youssef1313

Description

@Youssef1313

The one I see for now is IOutputDevice.DisplayAsync. I think it's worth having CancellationToken parameter there as a breaking change in v2.

Then, internally, IServerTestHost.PushDataAsync will have cancellation token parameter as well which will be used in concrete implementation ServerTestHost.PushDataAsync instead of the concrete implementation retrieving ITestApplicationCancellationTokenSource from service provider.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: MTPBelongs to the Microsoft.Testing.Platform core libraryBreaking ‼️

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions