async

package
v1.8.8 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnitTestCounterHelper

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

func (*UnitTestCounterHelper) AddDelta

func (a *UnitTestCounterHelper) AddDelta(num int64)

func (*UnitTestCounterHelper) Begin

func (a *UnitTestCounterHelper) Begin(callback func()) bool

func (*UnitTestCounterHelper) End

func (a *UnitTestCounterHelper) End(timeout time.Duration, expectNum int64) error

type UnittestCounter

type UnittestCounter interface {
	Begin(callback func()) bool
	End(timeout time.Duration, expectNum int64) error
	AddDelta(num int64)
}

Jump to

Keyboard shortcuts

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