owin/owin.dll

Environment key "owin.CallDisposed"

loudej opened this issue · 1 comments

There's an ad-hoc key "host.CallDisposed" with a CancellationToken that will be signalled when a request/response cycle is entirely complete.

That is incredibly convenient for distributed cleanup. A framework could use register with this token to perform IoC container Per-Request scope disposal.

This is deprecated by the CallParameters.Completed member