{"id":21180526,"url":"https://github.com/subethasensomatic/pipeline","last_synced_at":"2026-04-24T08:32:35.026Z","repository":{"id":144141633,"uuid":"140422006","full_name":"SubEthaSensOMatic/pipeline","owner":"SubEthaSensOMatic","description":"Asynchronous ASP.NET Core like pipeline implementation","archived":false,"fork":false,"pushed_at":"2018-07-16T18:27:26.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-01T04:22:38.815Z","etag":null,"topics":["asynchronous","csharp","dotnet-core","patterns","pipeline"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SubEthaSensOMatic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-10T11:28:33.000Z","updated_at":"2022-05-22T08:27:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"4728682d-b356-4c72-9e24-f8c9c48e43df","html_url":"https://github.com/SubEthaSensOMatic/pipeline","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SubEthaSensOMatic/pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubEthaSensOMatic%2Fpipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubEthaSensOMatic%2Fpipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubEthaSensOMatic%2Fpipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubEthaSensOMatic%2Fpipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SubEthaSensOMatic","download_url":"https://codeload.github.com/SubEthaSensOMatic/pipeline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubEthaSensOMatic%2Fpipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32216225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T08:24:32.376Z","status":"ssl_error","status_checked_at":"2026-04-24T08:24:26.731Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asynchronous","csharp","dotnet-core","patterns","pipeline"],"created_at":"2024-11-20T17:45:14.838Z","updated_at":"2026-04-24T08:32:35.005Z","avatar_url":"https://github.com/SubEthaSensOMatic.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pipeline\nAsynchronous ASP.NET Core like pipeline implementation\n\n### Usage\n\nCreate a context Class ...\n```csharp\n    public class MyPipelineContext \n    {\n        public string SharedInformationBetweenItems { get; set; }\n    }\n```\n\nCreate items for your pipeline ...\n\n```csharp\n    public class MyPipelineItem: IPipelineItem\u003cMyPipelineContext\u003e \n    {\n        public async Task run(MyPipelineContext ctx, Func\u003cTask\u003e next) \n        {\n            await next();\n            \n            Console.WriteLine(ctx.SharedInformationBetweenItems);\n        }\n    }\n```\n\nConfigure and run your pipeline ...\n\n```csharp\n  \n  ...\n  \n  // without dependency injection\n  // var builder = new PipelineBuilder();\n \n  // or with dependency injection \n  var builder = new PipelineBuilder(itemType =\u003e container.Resolve(itemType));\n  \n  // Add delegate item to pipeline\n  builder.Use(async (ctx, next) =\u003e {\n    ctx.SharedInformationBetweenItems = \"Some text...\";\n    \n    // don't forget to call \n    await next();\n  });\n  \n  // Use item object\n  builder.Use\u003cMyPipelineItem\u003e();\n\n  // Build pipeline ...\n  var pipeline = builder.BuildPipeline();\n  \n  // ... and run\n  var myContext = new MyPipelineContext();\n  await pipeline(myContext);\n  \n  // ... run again with new context\n  myContext = new MyPipelineContext();\n  await pipeline(myContext);\n  \n  ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubethasensomatic%2Fpipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubethasensomatic%2Fpipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubethasensomatic%2Fpipeline/lists"}