sync

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Code generated by define_gene; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed sync.d.ts
	SyncDefine   []byte
	SyncDeclared = map[string]any{
		"newCond":  sync.NewCond,
		"onceFunc": sync.OnceFunc,

		"emptyMap":          engine.Empty[sync.Map],
		"emptyRefMap":       engine.EmptyRefer[sync.Map],
		"refOfMap":          engine.ReferOf[sync.Map],
		"unRefMap":          engine.UnRefer[sync.Map],
		"emptyMutex":        engine.Empty[sync.Mutex],
		"emptyRefMutex":     engine.EmptyRefer[sync.Mutex],
		"refOfMutex":        engine.ReferOf[sync.Mutex],
		"unRefMutex":        engine.UnRefer[sync.Mutex],
		"emptyOnce":         engine.Empty[sync.Once],
		"emptyRefOnce":      engine.EmptyRefer[sync.Once],
		"refOfOnce":         engine.ReferOf[sync.Once],
		"unRefOnce":         engine.UnRefer[sync.Once],
		"emptyPool":         engine.Empty[sync.Pool],
		"emptyRefPool":      engine.EmptyRefer[sync.Pool],
		"refOfPool":         engine.ReferOf[sync.Pool],
		"unRefPool":         engine.UnRefer[sync.Pool],
		"emptyRWMutex":      engine.Empty[sync.RWMutex],
		"emptyRefRWMutex":   engine.EmptyRefer[sync.RWMutex],
		"refOfRWMutex":      engine.ReferOf[sync.RWMutex],
		"unRefRWMutex":      engine.UnRefer[sync.RWMutex],
		"emptyWaitGroup":    engine.Empty[sync.WaitGroup],
		"emptyRefWaitGroup": engine.EmptyRefer[sync.WaitGroup],
		"refOfWaitGroup":    engine.ReferOf[sync.WaitGroup],
		"unRefWaitGroup":    engine.UnRefer[sync.WaitGroup]}
)

Functions

This section is empty.

Types

type SyncModule

type SyncModule struct{}

func (SyncModule) Exports

func (S SyncModule) Exports() map[string]any

func (SyncModule) Identity

func (S SyncModule) Identity() string

func (SyncModule) TypeDefine

func (S SyncModule) TypeDefine() []byte

Directories

Path Synopsis
Code generated by define_gene; DO NOT EDIT.
Code generated by define_gene; DO NOT EDIT.

Jump to

Keyboard shortcuts

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