Skip to content

Add support for cancellationTokens for async calls #45

@tluijken

Description

@tluijken

We should add support for passing cancellationTokens to async calls.
For example:
public async Task<IDstv> ParseAsync(TextReader reader)
Should become
public async Task<IDstv> ParseAsync(TextReader reader, CancellationToken cancellationToken = default).

This allows our consumers to cancel the workload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions