subprocessor

package
v0.7.5-0...-2d5d3a9 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coordinator

type Coordinator struct {
	ResourceChannel chan Resource
	// contains filtered or unexported fields
}

func NewCoordinator

func NewCoordinator() *Coordinator

func (*Coordinator) Destroy

func (coordinator *Coordinator) Destroy()

func (*Coordinator) Run

func (coordinator *Coordinator) Run()

type Resource

type Resource struct {
	Process func()
}

type Routine

type Routine struct {
	ResourceChannel chan Resource
	// contains filtered or unexported fields
}

func NewRoutine

func NewRoutine(cp chan chan Resource) *Routine

func (*Routine) Start

func (r *Routine) Start()

func (*Routine) Stop

func (r *Routine) Stop()

Jump to

Keyboard shortcuts

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