github.com/xg0n/routine@v0.0.0-20240119033701-c364deb94aee/api_cloneable.go (about)

     1  package routine
     2  
     3  // Cloneable interface to support copy itself.
     4  type Cloneable interface {
     5  	// Clone create and returns a copy of this object.
     6  	Clone() any
     7  }