Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxdk-wasm
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
xxdk-wasm
Merge requests
!67
fix for latest client release
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix for latest client release
release
into
master
Overview
1
Commits
277
Pipelines
0
Changes
1
Merged
Jake Taylor
requested to merge
release
into
master
2 years ago
Overview
1
Commits
277
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
c2a1be6e
Show latest version
1 file
+
4
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
c2a1be6e
Fix log print
· c2a1be6e
Jono Wenger
authored
2 years ago
worker/manager.go
+
4
−
5
Options
@@ -20,9 +20,8 @@ import (
)
// TODO:
// 1. restructure packages
// 2. Get path to JS file from bindings
// 3. Add tests for manager.go and thread.go
// 1. Get path to JS file from bindings
// 2. Add tests for manager.go and thread.go
// initID is the ID for the first item in the callback list. If the list only
// contains one callback, then this is the ID of that callback. If the list has
@@ -185,8 +184,8 @@ func (m *Manager) RegisterCallback(tag Tag, receptionCB ReceptionCallback) {
id
:=
initID
jww
.
DEBUG
.
Printf
(
"[WW] [%s] Main registering callback for tag %q and ID
"
+
"%d (autoID: %t)"
,
m
.
name
,
tag
,
id
)
jww
.
DEBUG
.
Printf
(
"[WW] [%s] Main registering callback for tag %q and ID
%d"
,
m
.
name
,
tag
,
id
)
m
.
callbacks
[
tag
]
=
map
[
uint64
]
ReceptionCallback
{
id
:
receptionCB
}
}
Loading