Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PROTOTYPE: Shared worker for retrieving and storing Telemetry Dictionary #402

Draft
wants to merge 44 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
95b62bd
initial implementation of loading the dictionary in a shared worker
jvigliotta Dec 1, 2023
f448e89
importing webpack
jvigliotta Dec 1, 2023
fbecf38
update names
jvigliotta Dec 1, 2023
45d5588
debuggin
jvigliotta Dec 1, 2023
6855ec2
wrong path possibly
jvigliotta Dec 1, 2023
b09d390
nope
jvigliotta Dec 1, 2023
d8cc3f0
using worker-loader
jvigliotta Dec 2, 2023
70dd206
bad formatting
jvigliotta Dec 2, 2023
4a1d44b
bad formatting
jvigliotta Dec 2, 2023
8a0774d
bad formatting
jvigliotta Dec 2, 2023
d71be20
bad formatting
jvigliotta Dec 2, 2023
35942a2
bad formatting
jvigliotta Dec 2, 2023
f640d4b
dependency
jvigliotta Dec 2, 2023
7fa1d86
another way
jvigliotta Dec 5, 2023
1c010cd
not a function
jvigliotta Dec 6, 2023
1adb54a
tryin other ways
jvigliotta Dec 6, 2023
1a3c4d1
trying to get this dang path right
jvigliotta Dec 6, 2023
2861ea9
trying to get this dang path right
jvigliotta Dec 6, 2023
de63f31
must have been overwritten?
jvigliotta Dec 6, 2023
852c3b3
straws
jvigliotta Dec 6, 2023
0b7bafd
trying worker-loader again
jvigliotta Dec 7, 2023
b3574a6
proper config
jvigliotta Dec 7, 2023
10f9b69
proper config
jvigliotta Dec 7, 2023
c0d02fd
proper config
jvigliotta Dec 7, 2023
58d7794
proper config
jvigliotta Dec 7, 2023
179dc9e
proper conf
jvigliotta Dec 7, 2023
28a38ea
debugging race condition
jvigliotta Dec 8, 2023
6802d86
debugging race condition
jvigliotta Dec 8, 2023
69baaa7
immediately resolve dictionary if it exists
jvigliotta Dec 8, 2023
a6db3ee
immediately resolve dictionary if it exists
jvigliotta Dec 8, 2023
1d37ee0
immediately resolve dictionary if it exists
jvigliotta Dec 8, 2023
0fa2e60
immediately resolve dictionary if it exists
jvigliotta Dec 8, 2023
5cc4851
immediately resolve dictionary if it exists
jvigliotta Dec 11, 2023
b644f93
immediately resolve dictionary if it exists
jvigliotta Dec 11, 2023
0aa9170
debug
jvigliotta Dec 11, 2023
9dbad10
debug
jvigliotta Dec 11, 2023
adc0667
posting to all ports when dictionary received, ignoring in provider i…
jvigliotta Dec 11, 2023
1bf0374
posting to all ports when dictionary received, ignoring in provider i…
jvigliotta Dec 11, 2023
968f52a
cleaning up
jvigliotta Dec 11, 2023
087c7bf
cleaning up
jvigliotta Dec 11, 2023
e3109cc
cleaning up
jvigliotta Dec 11, 2023
4eaf172
cleaning up
jvigliotta Dec 11, 2023
6dc7c16
cleaning up
jvigliotta Dec 11, 2023
e001145
cleaning up
jvigliotta Dec 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleaning up
  • Loading branch information
jvigliotta committed Dec 11, 2023
commit 4eaf1729f5fd7802b82434c789e26e8a5575b9db
2 changes: 1 addition & 1 deletion src/providers/object-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default class YamcsObjectProvider {
#startWorker() {
this.objectWorker.port.onmessage = (e) => {
const { action, dictionary } = e.data;
console.log('message from worker', action, dictionary);

if (action === 'dictionaryData') {
this.dictionary = dictionary;
this.#completeDictionaryLoading();
Expand Down
Loading