MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / async

Method async

syntax/parser.go:2810–2810  ·  view source on GitHub ↗
(fn func())

Source from the content-addressed store, hash-verified

2808}
2809
2810func (p *parser) async(fn func()) { p.asyncOK(true, fn) }
2811func (p *parser) asyncTODO(fn func()) { p.asyncOK(false, fn) }
2812
2813func (p *parser) asyncOK(allowAsync bool, fn func()) {

Callers 5

funcDeclOrNilMethod · 0.95
funcTypeMethod · 0.95
blockStmtMethod · 0.95
switchStmtMethod · 0.95
selectStmtMethod · 0.95

Calls 1

asyncOKMethod · 0.95

Tested by

no test coverage detected