示例#1
0
        private async Task MakeCallAsync()
        {
            using (var callScope = _lifetime.BeginCallScope())
            {
                var call = CreateCall(callScope);

                await _flow.MakeCall(call);

                _db.WriteCall(call);

                if (CheckDone())
                {
                    Log.Verbose("[timeline] {Position:l} /> {Flow:l}", Point.Position, Key);
                }
                else
                {
                    Log.Verbose("[timeline] {Position:l} => {Flow:l}", Point.Position, Key);
                }
            }
        }