From a944df2f9bf853f1fb3c69385a34fc88800f271e Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Thu, 23 Feb 2017 19:30:37 +0100 Subject: [PATCH] comments --- common/signal/exec.go | 1 + 1 file changed, 1 insertion(+) diff --git a/common/signal/exec.go b/common/signal/exec.go index dc6cffcdb..2a82c5236 100644 --- a/common/signal/exec.go +++ b/common/signal/exec.go @@ -12,6 +12,7 @@ func executeAndFulfill(f func() error, done chan<- error) { close(done) } +// ExecuteAsync executes a function asychrously and return its result. func ExecuteAsync(f func() error) <-chan error { done := make(chan error, 1) go executeAndFulfill(f, done)