notificator

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extended

type Extended interface {
	task.Notificator

	NotifyEveryTick(time.Duration) Extended
}

func New

func New() Extended

func NewWithCapacity

func NewWithCapacity(capacity int) Extended

type Storage

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

func NewStorage

func NewStorage() *Storage

func (*Storage) Add

func (s *Storage) Add(noty task.Notificator)

func (*Storage) Close

func (s *Storage) Close() error

func (*Storage) NotifyAll

func (s *Storage) NotifyAll()

NotifyAll apply Notify to each element and filters closed.

Jump to

Keyboard shortcuts

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