From: Matt Joiner Date: Thu, 20 May 2021 10:27:54 +0000 (+1000) Subject: Add chansync interfaces X-Git-Tag: v1.29.0~31^2~12 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=a2dbec3b4a02b781ab9a6afc527ef5aab371b49a;p=btrtrc.git Add chansync interfaces --- 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{} +)