Skip to content

CancellationToken for the current method should be injectable #777

@jeremydmiller

Description

@jeremydmiller

It's available off of Fixture.Context.Cancellation, but still, make it a little easier.

So, a Fixture grammar like this:

public Task DoSomething(CancellationToken cancellation)
{

}

The "cancellation" argument would not be a Cell, and would get the CancellationToken for the current specification

Metadata

Metadata

Assignees

No one assigned

    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