public async Task <ISendTransport> GetPublishTransport <T>(Uri publishAddress) where T : class { async Task <CachedSendTransport> Create(Uri transportAddress) { var transport = await _host.CreatePublishTransport <T>(_modelContextSupervisor); return(new CachedSendTransport(transportAddress, transport)); } return(await _index.Get(publishAddress, Create).ConfigureAwait(false)); }
public Task <ISendTransport> GetPublishTransport <T>(Uri publishAddress) where T : class { return(_host.CreatePublishTransport <T>(_modelContextSupervisor)); }
public Task <ISendTransport> GetPublishTransport <T>(Uri publishAddress) where T : class { return(_host.CreatePublishTransport <T>()); }