fiber

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 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 Fiber

type Fiber struct {
	Data interface{}
	// contains filtered or unexported fields
}

type Scheduler

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

func NewScheduler

func NewScheduler() *Scheduler

func (*Scheduler) Block

func (s *Scheduler) Block(ctx context.Context, fn func(ctx context.Context))

func (*Scheduler) CancelBlocked

func (s *Scheduler) CancelBlocked()

func (*Scheduler) ForEachFiber

func (s *Scheduler) ForEachFiber(h func(fiber *Fiber))

func (*Scheduler) NewFiber

func (s *Scheduler) NewFiber(fn func()) *Fiber

func (*Scheduler) Run

func (s *Scheduler) Run(main *Fiber)

func (*Scheduler) SwitchToNew

func (s *Scheduler) SwitchToNew(f *Fiber)

Jump to

Keyboard shortcuts

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