concurrent

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Simple

type Simple struct {
	// contains filtered or unexported fields
}

Simple describes a task group with simple parallelism

func NewSimple

func NewSimple() *Simple

NewSimple creates a Simple concurrent pattern

func (*Simple) Go

func (g *Simple) Go(f func())

Go run given function in a goroutine

func (*Simple) Wait

func (g *Simple) Wait()

Wait for Simple to end

Jump to

Keyboard shortcuts

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