task

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
}

func (*Builder) ForkJoin

func (tb *Builder) ForkJoin(f func(*Concurrent))

type Concurrent

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

type Task

type Task struct {
	Ptr unsafe.Pointer
	Err error
}

func Await

func Await[T any](c *Concurrent, f func() (T, error)) *Task

Jump to

Keyboard shortcuts

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