errgroupexamples

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrGroupCancel

func ErrGroupCancel()

ErrGroupCancel demonstrates that g.Wait() does not return until all goroutines have exited, regardless of the group's context's cancellation status.

func ParentContextCancel

func ParentContextCancel()

ParentContextCancel demonstrates that canceling the parent context of an errgroup.Group does not immediately abort running goroutines within that group.

Types

This section is empty.

Jump to

Keyboard shortcuts

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