public async Task X() { var sup = new TaskSupervisor("test"); var cache = new OwinHostCache(new ConfigurationHostSettings("http", "localhost", 8080, HttpMethod.Post), sup); await cache.Send(Pipe.Empty<OwinHostContext>(), default(CancellationToken)); await sup.Stop("test"); }
public async Task X() { var sup = new TaskSupervisor("test"); var cache = new OwinHostCache(new ConfigurationHostSettings("http", "localhost", 8080, HttpMethod.Post), sup); await cache.Send(Pipe.Empty <OwinHostContext>(), default(CancellationToken)); await sup.Stop("test"); }