From 7f0a56ca2aac8fcbcf8bd4ce3b51e99289a3515a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Thu, 1 Dec 2022 15:27:32 +0100 Subject: [PATCH] Deprecate `Channel.select` splat overloads --- src/channel.cr | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/channel.cr b/src/channel.cr index 59fe55e38cf4..43d943be8d5e 100644 --- a/src/channel.cr +++ b/src/channel.cr @@ -399,6 +399,7 @@ class Channel(T) end # :nodoc: + @[Deprecated("Use `Channel.select(Indexable(SelectAction)` instead.")] def self.select(*ops : SelectAction) self.select ops end @@ -411,6 +412,7 @@ class Channel(T) end # :nodoc: + @[Deprecated("Use `Channel.non_blocking_select(Indexable(SelectAction)` instead.")] def self.non_blocking_select(*ops : SelectAction) self.non_blocking_select ops end