Skip to content

Remove static from Procedure and enable more customization #6

Description

@ddevault

I'd like to see static taken off of the Procedure class, but the static methods can remain (backwards compatability and convenience). Then you can instantiate a Procedure object and do some customization on it, like so:

var proc = new Procedure(() => { ... });
proc.Retries = 5;
proc.Timeout = TimeSpan.FromSeconds(30);
proc.Execute();

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