From f2730ff0d7bf6e12bbcd7f67643a4f5fdfd386a8 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Sun, 21 Aug 2022 11:16:03 -0400 Subject: [PATCH] doc: Add documentation for Task.ignore ext --- src/client/spark_core/utils_api/APIExtensions.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/client/spark_core/utils_api/APIExtensions.cs b/src/client/spark_core/utils_api/APIExtensions.cs index e4d5fdb51..8085bd778 100644 --- a/src/client/spark_core/utils_api/APIExtensions.cs +++ b/src/client/spark_core/utils_api/APIExtensions.cs @@ -11,6 +11,10 @@ namespace mbts return string.Format(input, vals); } - public static void ignore(this Task t) { } + /// + /// Allows to run, but doesn't await its completion. Execution on the + /// current thread continues immediately. + /// + public static void ignore(this Task task) { } } }