Skip to content

Releases: benfoster/Flo

0.3.0

08 May 14:58
Compare
Choose a tag to compare

This release includes support for asynchronous When predicates, for example:

await Pipeline.Build<TestContext>(cfg =>
    cfg
        .When(async ctx => await ValidateAccessAsync(ctx["id"]), builder =>
            builder.Add((ctx, next) =>
            {
                using (LogContext.PushProperty("id", ctx["id"]))
                {
                    return next.Invoke(ctx);
                }
            })
        )
        .Final(async (ctx) =>
        {
            await Execute(ctx);
            return ctx;
        })
)
.Invoke(new TestContext());

Thanks to @andreas-antoniou-cko for contributing this feature.

0.2.2

11 May 14:22
9237fbe
Compare
Choose a tag to compare
Version 0.2.2

0.2.1

17 Mar 19:34
Compare
Choose a tag to compare
Version 0.2.1

0.2.0

17 Mar 14:05
ae0c8ec
Compare
Choose a tag to compare
Version 0.2.0

0.1.3

23 Oct 11:02
Compare
Choose a tag to compare
Version 0.1.3