package synctest

Import Path
	internal/synctest (on go.dev)

Dependency Relation
	imports one package, and imported by one package

Involved Source Files Package synctest provides support for testing concurrent code. See the testing/synctest package for function documentation.
Package-Level Type Names (only one)
/* sort by: | */
A Bubble is a synctest bubble. Not a public API. Used by syscall/js to propagate bubble membership through syscalls. Release releases the reference to the bubble, allowing it to become idle again. Run executes f in the bubble. The current goroutine must not be part of a bubble. func Acquire() *Bubble
Package-Level Functions (total 3)
Acquire returns a reference to the current goroutine's bubble. The bubble will not become idle until Release is called.
func Run(f func())
func Wait()