storj/internal/sync2/doc.go
Ivan Fraixedes de2242a05a internal/sync2: Cycle minor impl & docs improvements (#1936)
* internal/sync2: Cycle minor impl & docs improvements

Add the following improvements to the Cycle type of the internal/sync2
package:

* Avoid that Close method hang if Start/Run has not been called.
* Ensure that internal ticker is always stopped.
* Add clarifications when methods calls panic.

* internal/sync2: add minimal package level docs

* Changes defer
2019-05-09 20:19:06 +02:00

13 lines
384 B
Go

// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information
/*Package sync2 provides a set of functions and types for:
* Having context aware functionalities which aren't present in the standard
library.
* For offloading memory through the file system.
* To control execution of tasks which can run repetitively, concurrently or
asynchronously.
*/
package sync2