Orsak.AspNetCore Namespace
| Type/Module | Description |
|
Hosts long-running effects as ASP.NET Core background services, with |
|
|
A job whose workload is a function, so the builder needs no subclass per job. |
|
|
OpenTelemetry-compatible diagnostics for effect endpoints. |
|
|
Creates endpoints from effects, with a route format string whose values are parsed and passed to the handler, and
maps them with |
|
|
Endpoint metadata with the type of the effect the route handler creates, such as
|
|
|
An endpoint created by one of the |
|
|
|
|
|
Endpoint metadata with the method that handles the endpoint's requests, read from the route handler. |
|
|
A runner that describes the responses it gives, for OpenAPI: only the runner knows how an effect's result and errors become responses. When the runner of an endpoint implements it, the endpoint gets the responses as metadata. |
|
|
A response an endpoint can give: its status code, the type of its body, if it has one, and what it means. As endpoint metadata, it is an IProducesResponseTypeMetadata, which ApiExplorer and OpenAPI generators read. |
|
|
Endpoint metadata with the responses the endpoint's runner describes, which the endpoint also has as ResponseDescriptions: so an OpenAPI generator can rank them below the endpoint's own, such as its XML docs. |
|
|
A background service that runs an effect over and over in a baseline worker, and in extra workers added and removed
according to |
|
|
|
|
|
|
|
|
A job ready to be added to the services. |
|
|
What the builder has collected so far. 'Work, 'Env and 'Load start as markers, and become the types of the functions given to the work, environment and workload operations. |
|
|
How much work a ScalingEffectJob has, and so whether it should change its number of workers. |
|
|
|
|
|
|
Orsak