public async Task <IQueueAdapter> CreateAdapter() { if (streamQueueMapper == null) { partitionIds = await GetPartitionIdsAsync(); streamQueueMapper = new EventHubQueueMapper(partitionIds, adapterConfig.StreamProviderName); } return(this); }