From a2dbec3b4a02b781ab9a6afc527ef5aab371b49a Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 20 May 2021 20:27:54 +1000 Subject: [PATCH] Add chansync interfaces --- internal/chansync/interfaces.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 internal/chansync/interfaces.go diff --git a/internal/chansync/interfaces.go b/internal/chansync/interfaces.go new file mode 100644 index 00000000..751ba0ef --- /dev/null +++ b/internal/chansync/interfaces.go @@ -0,0 +1,8 @@ +package chansync + +// Here we'll strongly-type channels to assist correct usage, if possible. + +type ( + Signaled <-chan struct{} + Done <-chan struct{} +) -- 2.44.0