Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
256dpi committed Dec 28, 2019
1 parent 3ea107e commit 60b735e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/futures.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (

// A GenericFuture is returned by publish and unsubscribe methods.
type GenericFuture interface {
// Wait will block until the future is completed or canceled. It will return
// future.ErrCanceled if the future gets canceled. If the timeout is reached,
// future.ErrTimeoutExceeded is returned.
//
// Wait will wait the given amount of time and return whether the future has
// been completed, canceled or the request timed out. If no time has been
// provided the wait will never timeout.

// Note: Wait will not return any Client related errors.
Wait(timeout time.Duration) error
}
Expand Down

0 comments on commit 60b735e

Please sign in to comment.