Exemple #1
0
            public Awaiter(AsyncConditionSource condition)
            {
                if (condition == null)
                {
                    throw new ArgumentNullException(nameof(condition), "condition != null");
                }

                this.conditionSource = condition;
            }
        public AsyncConditionVariable(AsyncConditionSource source)
        {
            if (source == null)
            {
                throw new ArgumentNullException(nameof(source), "source != null");
            }

            this.source = source;
        }