Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladimir Barsukov
zGo
Commits
e53f6d70
Commit
e53f6d70
authored
Nov 17, 2023
by
Vladimir Barsukov
Browse files
zgo
parent
c9d8bb0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
zq/zq.go
View file @
e53f6d70
...
...
@@ -72,6 +72,13 @@ func (q *ZQ) AddJob(a any) *ZQ {
return
q
}
func
(
q
*
ZQ
)
AddJobSync
(
a
any
)
*
ZQ
{
q
.
JobsWg
.
Inc
()
q
.
jobs
<-
a
return
q
}
func
(
q
*
ZQ
)
Wait
()
{
q
.
JobsWg
.
Wait
()
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment