コード例 #1
0
        public async Task <IActionResult> GetNext(string clientName, CancellationToken cancellationToken)
        {
            MagnetMessage msg = await _messageBus.GetNextAsync(clientName, Request.HttpContext.RequestAborted);

            return(Ok(msg));
        }