rendezvous

package module
v0.5.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

README

Rendezvous

The Rendezvous library supports the safe and convenient execution of asynchronous computations with goroutines and provides facilities for the safe retrieval of the computation results.

It provides safety in the sense that panics in asynchronous computations are transformed into error results and its methods and functions prevent resource leaks, race conditions, and deadlocks for the channels used to pass data between the parent and child goroutines.

This library uses Golang generics introduced in Go v1.18.

Documentation summary

  • The main package is rdv. rdvext provides some extensions to rdv.
  • See the example directories for examples of usage of the library.
  • The obsolete directory contains an older and significantly more complex version of the library.
  • Run godoc at the root directory to browse the package documentation.

Documentation

Overview

The Rendezvous library supports the safe and convenient execution of asynchronous computations with goroutines and provides facilities for the safe retrieval of the computation results.

It provides safety in the sense that panics in asynchronous computations are transformed into error results and its methods and functions prevent resource leaks, race conditions, and deadlocks for the channels used to pass data between the parent and child goroutines.

This library uses Golang generics introduced in Go v1.18. go1.18beta1 or higher must be used with this library.

Directories

Path Synopsis
obsolete
rdv
Package rdv supports the safe and convenient execution of asynchronous computations with goroutines and provides facilities for the safe retrieval of the computation results.
Package rdv supports the safe and convenient execution of asynchronous computations with goroutines and provides facilities for the safe retrieval of the computation results.
Simple extensions to rdv package to support running groups of functions concurrently.
Simple extensions to rdv package to support running groups of functions concurrently.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL