Darien Raymond 8 years ago
parent
commit
a944df2f9b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      common/signal/exec.go

+ 1 - 0
common/signal/exec.go

@@ -12,6 +12,7 @@ func executeAndFulfill(f func() error, done chan<- error) {
 	close(done)
 	close(done)
 }
 }
 
 
+// ExecuteAsync executes a function asychrously and return its result.
 func ExecuteAsync(f func() error) <-chan error {
 func ExecuteAsync(f func() error) <-chan error {
 	done := make(chan error, 1)
 	done := make(chan error, 1)
 	go executeAndFulfill(f, done)
 	go executeAndFulfill(f, done)