anchor.diff:  module internal ResourceManager =
       open Dyfrig
   
  +    /// Default `405 Method Not Allowed` handler
       let notAllowed (allowedMethods: string list) =
           Func<_,_>(fun env ->
               let env = Environment.toEnvironment env
  
positive.code:                 do! env.ResponseBody.AsyncWrite(bytes)
              } |> Async.StartAsTask :> Task)
  
      let uriMatcher uriTemplate (env, _) =
          let env = Environment.toEnvironment env
          // TODO: Do this with F# rather than System.ServiceModel. This could easily use a Regex pattern.
  
negative.code:                 for resource in x.Values do resource.Shutdown()
          }
  
      /// Invokes the `ResourceManager` with the provided `OwinEnv`.
      member x.Invoke env =
          let tcs = TaskCompletionSource<unit>()
          onRequest.Trigger(env, tcs)
          tcs.Task :> Task
  
      interface IObservable<OwinEnv * TaskCompletionSource<unit>> with
          /// Subscribes an `observer` to received requests.
          member x.Subscribe(observer) = onRequest.Publish.Subscribe(observer)
  