entangld 2.1.6 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.hbs +1 -0
- package/README.md +12 -10
- package/index.js +32 -8
- package/package.json +1 -1
- package/test/events.js +39 -0
- package/test/single.js +48 -0
- package/tags +0 -244
package/README.hbs
CHANGED
|
@@ -145,6 +145,7 @@ Any object can store values. And a Map can store values keyed to objects. But
|
|
|
145
145
|
- Have your store synchronized with multiple data sources (other stores)?
|
|
146
146
|
- Over a network?
|
|
147
147
|
- Subscribe to events within the datastore?
|
|
148
|
+
- Support subscription wildcards?
|
|
148
149
|
|
|
149
150
|
## Notes
|
|
150
151
|
|
package/README.md
CHANGED
|
@@ -145,6 +145,7 @@ Any object can store values. And a Map can store values keyed to objects. But
|
|
|
145
145
|
- Have your store synchronized with multiple data sources (other stores)?
|
|
146
146
|
- Over a network?
|
|
147
147
|
- Subscribe to events within the datastore?
|
|
148
|
+
- Support subscription wildcards?
|
|
148
149
|
|
|
149
150
|
## Notes
|
|
150
151
|
|
|
@@ -191,7 +192,8 @@ downstream datastores do not necessarilly have access to the upstream store
|
|
|
191
192
|
structure, and so cannot generally construct upstream paths. This means that
|
|
192
193
|
the <code>.path</code> attribute is a <code>tree</code> relative to the upstream datastore, and
|
|
193
194
|
the upstream path can be reconstructed as:</p>
|
|
194
|
-
<pre><code class="language-javascript"> > upstream._namespaces.get(downstream) + "." + msg.path
|
|
195
|
+
<pre><code class="language-javascript"> > upstream._namespaces.get(downstream) + "." + msg.path;
|
|
196
|
+
</code></pre>
|
|
195
197
|
<p>Since <code>unsubscribe</code> messages can pass either upstream or downstream, the notion
|
|
196
198
|
of a path is ill-defined, and so unsubscribe messages should have their <code>.path</code>
|
|
197
199
|
attributes set to undefined or null.</p>
|
|
@@ -306,7 +308,7 @@ Construct subscribe message
|
|
|
306
308
|
| Param | Type | Description |
|
|
307
309
|
| --- | --- | --- |
|
|
308
310
|
| tree | <code>string</code> | the path (relative to the downstream datastore) |
|
|
309
|
-
| uuid | <code>
|
|
311
|
+
| uuid | <code>uuidv4</code> | the subscription uuid |
|
|
310
312
|
|
|
311
313
|
<a name="Entangld_Message.event"></a>
|
|
312
314
|
|
|
@@ -320,7 +322,7 @@ Create an `event` message to return data to subscribe callbacks
|
|
|
320
322
|
| --- | --- | --- |
|
|
321
323
|
| path | <code>string</code> | the path (relative to the downstream store) |
|
|
322
324
|
| value | <code>\*</code> | the updated datastore value at the path |
|
|
323
|
-
| uuid | <code>
|
|
325
|
+
| uuid | <code>uuidv4</code> | the uuid of the subscribe being triggered |
|
|
324
326
|
|
|
325
327
|
<a name="Entangld_Message.unsubscribe"></a>
|
|
326
328
|
|
|
@@ -374,7 +376,7 @@ Constructor
|
|
|
374
376
|
| --- | --- | --- |
|
|
375
377
|
| obj | <code>Object</code> | the configuration object |
|
|
376
378
|
| obj.path | <code>string</code> | the datastore path (relative to this datastore) of the subscription |
|
|
377
|
-
| obj.uuid | <code>
|
|
379
|
+
| obj.uuid | <code>uuidv4</code> | the uuid of the subscription chain |
|
|
378
380
|
| obj.callback | <code>function</code> | the callback function, with signature (path, value), where path is relative to this datastore |
|
|
379
381
|
| obj.downstream | [<code>Entangld</code>](#Entangld) \| <code>null</code> | the downstream datastore (if any) associated with this subscription |
|
|
380
382
|
| obj.upstream | [<code>Entangld</code>](#Entangld) \| <code>null</code> | the upstream datastore (if any) associated with this subscription |
|
|
@@ -496,7 +498,7 @@ Check if a provided uuid matches this uuid
|
|
|
496
498
|
|
|
497
499
|
| Param | Type | Description |
|
|
498
500
|
| --- | --- | --- |
|
|
499
|
-
| uuid | <code>
|
|
501
|
+
| uuid | <code>uuidv4</code> | a uuid string to check against |
|
|
500
502
|
|
|
501
503
|
<a name="Subscription+is_beneath"></a>
|
|
502
504
|
|
|
@@ -552,7 +554,7 @@ Synchronized Event Store
|
|
|
552
554
|
* [.push(path, data, [limit])](#Entangld+push)
|
|
553
555
|
* [.set(path, data, [operation_type], [params])](#Entangld+set)
|
|
554
556
|
* [.get(path, [params])](#Entangld+get) ⇒ <code>Promise</code>
|
|
555
|
-
* [.subscribe(path, func, [every])](#Entangld+subscribe) ⇒ <code>
|
|
557
|
+
* [.subscribe(path, func, [every])](#Entangld+subscribe) ⇒ <code>uuidv4</code>
|
|
556
558
|
* [.subscribed_to(subscription)](#Entangld+subscribed_to) ⇒ <code>Boolean</code>
|
|
557
559
|
* [.unsubscribe(path_or_uuid)](#Entangld+unsubscribe) ⇒ <code>number</code>
|
|
558
560
|
* [.unsubscribe_tree(path)](#Entangld+unsubscribe_tree)
|
|
@@ -720,7 +722,7 @@ recursion and may be expensive.
|
|
|
720
722
|
|
|
721
723
|
<a name="Entangld+subscribe"></a>
|
|
722
724
|
|
|
723
|
-
### entangld.subscribe(path, func, [every]) ⇒ <code>
|
|
725
|
+
### entangld.subscribe(path, func, [every]) ⇒ <code>uuidv4</code>
|
|
724
726
|
Subscribe to change events for a path
|
|
725
727
|
|
|
726
728
|
If objects at or below this path change, you will get a callback
|
|
@@ -753,7 +755,7 @@ subscriptions can be checked to see if they are `pass through` type via
|
|
|
753
755
|
the getter `sub.is_pass_through`.
|
|
754
756
|
|
|
755
757
|
**Kind**: instance method of [<code>Entangld</code>](#Entangld)
|
|
756
|
-
**Returns**: <code>
|
|
758
|
+
**Returns**: <code>uuidv4</code> - - the uuid of the subscription
|
|
757
759
|
**Throws**:
|
|
758
760
|
|
|
759
761
|
- <code>TypeError</code> if path is not a string.
|
|
@@ -761,7 +763,7 @@ the getter `sub.is_pass_through`.
|
|
|
761
763
|
|
|
762
764
|
| Param | Type | Default | Description |
|
|
763
765
|
| --- | --- | --- | --- |
|
|
764
|
-
| path | <code>string</code> | | the path to watch. |
|
|
766
|
+
| path | <code>string</code> | | the path to watch. Use of '*' is allowed as a wildcard (e.g. "system.*") |
|
|
765
767
|
| func | <code>function</code> | | the callback - will be of the form (path, value). |
|
|
766
768
|
| [every] | <code>number</code> \| <code>null</code> | <code></code> | the number of `set` messages to wait before calling callback |
|
|
767
769
|
|
|
@@ -797,7 +799,7 @@ and only want one of them to be removed, you must provide the uuid instead.
|
|
|
797
799
|
|
|
798
800
|
| Param | Type | Description |
|
|
799
801
|
| --- | --- | --- |
|
|
800
|
-
| path_or_uuid | <code>String</code> \| <code>
|
|
802
|
+
| path_or_uuid | <code>String</code> \| <code>uuidv4</code> | the path (or uuid) to unwatch. |
|
|
801
803
|
|
|
802
804
|
<a name="Entangld+unsubscribe_tree"></a>
|
|
803
805
|
|
package/index.js
CHANGED
|
@@ -337,7 +337,7 @@ class Subscription {
|
|
|
337
337
|
* @return {Boolean} - true if the subscription is beneath the path
|
|
338
338
|
*/
|
|
339
339
|
is_beneath(path) {
|
|
340
|
-
return is_beneath(this.path, path)
|
|
340
|
+
return is_beneath(this.path, path, 'a');
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
/**
|
|
@@ -347,7 +347,7 @@ class Subscription {
|
|
|
347
347
|
* @return {Boolean} - true if the subscription is beneath the path
|
|
348
348
|
*/
|
|
349
349
|
is_above(path) {
|
|
350
|
-
return is_beneath(path, this.path);
|
|
350
|
+
return is_beneath(path, this.path, 'b');
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
/**
|
|
@@ -539,10 +539,11 @@ function partial_copy(o, max_depth) {
|
|
|
539
539
|
*
|
|
540
540
|
* @private
|
|
541
541
|
* @param {string} a the string tested for "insideness"
|
|
542
|
-
* @param {string} b the string tested for "outsideness"
|
|
542
|
+
* @param {string} b the string tested for "outsideness" (wildcard '*' allowed)
|
|
543
|
+
* @param {string} [allow_wildcard = false] allow wildcards, one of ('a', 'b', false). Default is false (no wildcard allowed)
|
|
543
544
|
* @return boolean
|
|
544
545
|
*/
|
|
545
|
-
function is_beneath(a, b) {
|
|
546
|
+
function is_beneath(a, b, allow_wildcard=false) {
|
|
546
547
|
|
|
547
548
|
// Everything is beneath the top ("")
|
|
548
549
|
if(b==="") return true;
|
|
@@ -553,10 +554,33 @@ function is_beneath(a, b) {
|
|
|
553
554
|
let A=a.split(".");
|
|
554
555
|
let B=b.split(".");
|
|
555
556
|
|
|
556
|
-
// A is not beneath B if any part is not the same
|
|
557
|
-
|
|
557
|
+
// A is not beneath B if any part is not the same. Check for this.
|
|
558
|
+
switch (allow_wildcard) {
|
|
558
559
|
|
|
559
|
-
|
|
560
|
+
case "a":
|
|
561
|
+
// Allow wildcard in A
|
|
562
|
+
while(A.length && B.length){
|
|
563
|
+
|
|
564
|
+
let A_part=A.shift();
|
|
565
|
+
if(A_part!=B.shift() && A_part != "*") return false;
|
|
566
|
+
}
|
|
567
|
+
break;
|
|
568
|
+
|
|
569
|
+
case "b":
|
|
570
|
+
// Allow wildcard in B
|
|
571
|
+
while(A.length && B.length){
|
|
572
|
+
|
|
573
|
+
let B_part=B.shift();
|
|
574
|
+
if(B_part!=A.shift() && B_part != "*") return false;
|
|
575
|
+
}
|
|
576
|
+
break;
|
|
577
|
+
|
|
578
|
+
default:
|
|
579
|
+
// No wildcards allowed
|
|
580
|
+
while(A.length && B.length){
|
|
581
|
+
|
|
582
|
+
if(A.shift()!=B.shift()) return false;
|
|
583
|
+
}
|
|
560
584
|
}
|
|
561
585
|
|
|
562
586
|
// A is not beneath B if B is longer
|
|
@@ -1057,7 +1081,7 @@ class Entangld extends EventEmitter {
|
|
|
1057
1081
|
* subscriptions can be checked to see if they are `pass through` type via
|
|
1058
1082
|
* the getter `sub.is_pass_through`.
|
|
1059
1083
|
*
|
|
1060
|
-
* @param {string} path the path to watch.
|
|
1084
|
+
* @param {string} path the path to watch. Use of '*' is allowed as a wildcard (e.g. "system.*")
|
|
1061
1085
|
* @param {function} func the callback - will be of the form (path, value).
|
|
1062
1086
|
* @param {number|null} [every=null] the number of `set` messages to wait before calling callback
|
|
1063
1087
|
*
|
package/package.json
CHANGED
package/test/events.js
CHANGED
|
@@ -18,6 +18,29 @@ describe("Events",()=>{
|
|
|
18
18
|
a.transmit((msg, store)=>store.receive(msg, a));
|
|
19
19
|
b.transmit((msg, store)=>store.receive(msg, b));
|
|
20
20
|
|
|
21
|
+
|
|
22
|
+
// Original tests were written with globals and are thus not independent. I'm adding (JLS 2023-02-21) some "clean" scaffolding.
|
|
23
|
+
// TODO - we should eventually rewrite tests to use these new objects.
|
|
24
|
+
let A,B,S;
|
|
25
|
+
beforeEach(()=>{
|
|
26
|
+
|
|
27
|
+
S=new Entangld();
|
|
28
|
+
A=new Entangld();
|
|
29
|
+
B=new Entangld();
|
|
30
|
+
|
|
31
|
+
S.attach("a",A);
|
|
32
|
+
S.attach("b",B);
|
|
33
|
+
|
|
34
|
+
A.attach("parent", S);
|
|
35
|
+
B.attach("parent", S);
|
|
36
|
+
|
|
37
|
+
S.transmit((msg, store)=>store.receive(msg, S));
|
|
38
|
+
A.transmit((msg, store)=>store.receive(msg, A));
|
|
39
|
+
B.transmit((msg, store)=>store.receive(msg, B));
|
|
40
|
+
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
|
|
21
44
|
it("Subscribe to local event (exact)", (done)=>{
|
|
22
45
|
|
|
23
46
|
s.subscribe("my.own.event",(path, val)=>{
|
|
@@ -53,6 +76,22 @@ describe("Events",()=>{
|
|
|
53
76
|
a.set("system.voltage",21);
|
|
54
77
|
});
|
|
55
78
|
|
|
79
|
+
it("Subscribe to remote event (wildcard)", (done)=>{
|
|
80
|
+
|
|
81
|
+
S.subscribe("a.*.voltage",(path, val)=>{
|
|
82
|
+
|
|
83
|
+
assert.strictEqual(path,"a.system.voltage");
|
|
84
|
+
assert.strictEqual(val, 21);
|
|
85
|
+
|
|
86
|
+
// Check for proper internals
|
|
87
|
+
assert.strictEqual(s._subscriptions.length,1);
|
|
88
|
+
assert.strictEqual(a._subscriptions.length,1);
|
|
89
|
+
done();
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
A.set("system.voltage",21);
|
|
93
|
+
});
|
|
94
|
+
|
|
56
95
|
it("Subscribe to remote event (descendant of subscribed path also triggers event)", (done)=>{
|
|
57
96
|
|
|
58
97
|
s.subscribe("a.flowers.roses",(path, val)=>{
|
package/test/single.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
const Entangld=require("../index.js");
|
|
2
|
+
const assert=require("assert");
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
describe("Events",()=>{
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
// Original tests were written with globals and are thus not independent. I'm adding (JLS 2023-02-21) some "clean" scaffolding.
|
|
9
|
+
// TODO - we should eventually rewrite tests to use these new objects.
|
|
10
|
+
let A,B,S;
|
|
11
|
+
beforeEach(()=>{
|
|
12
|
+
|
|
13
|
+
S=new Entangld();
|
|
14
|
+
A=new Entangld();
|
|
15
|
+
B=new Entangld();
|
|
16
|
+
|
|
17
|
+
S.attach("a",A);
|
|
18
|
+
S.attach("b",B);
|
|
19
|
+
|
|
20
|
+
A.attach("parent", S);
|
|
21
|
+
B.attach("parent", S);
|
|
22
|
+
|
|
23
|
+
S.transmit((msg, store)=>store.receive(msg, S));
|
|
24
|
+
A.transmit((msg, store)=>store.receive(msg, A));
|
|
25
|
+
B.transmit((msg, store)=>store.receive(msg, B));
|
|
26
|
+
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
it("Subscribe to remote event (wildcard)", (done)=>{
|
|
32
|
+
|
|
33
|
+
S.subscribe("a.*.voltage",(path, val)=>{
|
|
34
|
+
|
|
35
|
+
assert.strictEqual(path,"a.system.voltage");
|
|
36
|
+
assert.strictEqual(val, 21);
|
|
37
|
+
|
|
38
|
+
// Check for proper internals
|
|
39
|
+
assert.strictEqual(S._subscriptions.length,1);
|
|
40
|
+
assert.strictEqual(A._subscriptions.length,1);
|
|
41
|
+
done();
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
A.set("system.voltage",21);
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
});
|
package/tags
DELETED
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
|
|
2
|
-
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
|
|
3
|
-
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
|
|
4
|
-
!_TAG_PROGRAM_NAME Exuberant Ctags //
|
|
5
|
-
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
|
|
6
|
-
!_TAG_PROGRAM_VERSION 5.9~svn20110310 //
|
|
7
|
-
DEBUG_ERROR libraries/unix/samples/debug.h 27;" d line:27 language:C++
|
|
8
|
-
DEBUG_H_ libraries/unix/samples/debug.h 9;" d line:9 language:C++
|
|
9
|
-
DEBUG_INFO libraries/unix/samples/debug.h 39;" d line:39 language:C++
|
|
10
|
-
DEBUG_LEVEL_ERROR libraries/unix/samples/debug.h 15;" d line:15 language:C++
|
|
11
|
-
DEBUG_LEVEL_INFO libraries/unix/samples/debug.h 17;" d line:17 language:C++
|
|
12
|
-
DEBUG_LEVEL_VERBOSE libraries/unix/samples/debug.h 18;" d line:18 language:C++
|
|
13
|
-
DEBUG_LEVEL_WARN libraries/unix/samples/debug.h 16;" d line:16 language:C++
|
|
14
|
-
DEBUG_VERBOSE libraries/unix/samples/debug.h 45;" d line:45 language:C++
|
|
15
|
-
DEBUG_WARN libraries/unix/samples/debug.h 33;" d line:33 language:C++
|
|
16
|
-
DEFAULT_HOST libraries/unix/samples/client.cpp /^constexpr char DEFAULT_HOST[] = "127.0.0.1"; \/**< Default host address. *\/$/;" v line:17 language:C++
|
|
17
|
-
DEFAULT_PORT libraries/unix/samples/client.cpp /^constexpr int DEFAULT_PORT = 50001; \/**< Default host port. *\/$/;" v line:18 language:C++
|
|
18
|
-
DEFAULT_PORT libraries/unix/samples/server.cpp /^constexpr int DEFAULT_PORT = 50001;$/;" v line:18 language:C++
|
|
19
|
-
DEFAULT_TIMEOUT libraries/unix/samples/client.cpp /^constexpr int DEFAULT_TIMEOUT = 2000; \/**< Default timeout. *\/$/;" v line:19 language:C++
|
|
20
|
-
Datastore libraries/unix/include/Datastore.h /^ explicit Datastore(const nlohmann::json &data = nlohmann::json::object())$/;" f line:28 language:C++ class:entangld::Datastore access:public signature:(const nlohmann::json &data = nlohmann::json::object())
|
|
21
|
-
Datastore libraries/unix/include/Datastore.h /^ class Datastore {$/;" c line:22 language:C++ namespace:entangld
|
|
22
|
-
Entangld index.js /^class Entangld extends EventEmitter {$/;" C line:572 language:JavaScript
|
|
23
|
-
EntangldError index.js /^class EntangldError extends Error {$/;" C line:153 language:JavaScript
|
|
24
|
-
Entangld_Message index.js /^class Entangld_Message {$/;" C line:33 language:JavaScript
|
|
25
|
-
FIXME test/sockets.js /^\/\/ FIXME : comment out for debugging$/;" T line:9 language:JavaScript
|
|
26
|
-
Message libraries/unix/include/Message.h /^ class Message {$/;" c line:17 language:C++ namespace:entangld
|
|
27
|
-
Subscription index.js /^class Subscription {$/;" C line:166 language:JavaScript
|
|
28
|
-
TODO test/tests.js /^ \/\/ TODO: Add a triple multiplexed store test$/;" T line:588 language:JavaScript
|
|
29
|
-
VERSION libraries/unix/samples/server.cpp /^constexpr char VERSION[] = "1.0.0";$/;" v line:15 language:C++
|
|
30
|
-
_ENTANGLD_DATASTORE_H_ libraries/unix/include/Datastore.h 9;" d line:9 language:C++
|
|
31
|
-
_ENTANGLD_MESSAGE_H_ libraries/unix/include/Message.h 9;" d line:9 language:C++
|
|
32
|
-
_get_remote_object index.js /^ _get_remote_object(path) {$/;" M line:915 language:JavaScript
|
|
33
|
-
_has_cb index.js /^ this._has_cb = (typeof(callback) === "function");$/;" M line:189 language:JavaScript
|
|
34
|
-
_is_counting index.js /^ this._is_counting = (this.downstream === null);$/;" M line:190 language:JavaScript
|
|
35
|
-
_local_data index.js /^ this._local_data = {};$/;" P line:581 language:JavaScript
|
|
36
|
-
_requests index.js /^ this._requests = {};$/;" P line:582 language:JavaScript
|
|
37
|
-
_set_local index.js /^ _set_local(path, data, op_type="set", params={}) {$/;" M line:1276 language:JavaScript
|
|
38
|
-
_subscribe index.js /^ _subscribe(path, func, upstream = null, uuid = null, every = null) {$/;" M line:1090 language:JavaScript
|
|
39
|
-
_transmit index.js /^ this._transmit = () => { };$/;" M line:580 language:JavaScript
|
|
40
|
-
_unsubscribe index.js /^ _unsubscribe(subscriptions) {$/;" M line:1240 language:JavaScript
|
|
41
|
-
a test/tests.js /^ a: {$/;" P line:13 language:JavaScript
|
|
42
|
-
a test/tests.js /^ a: {$/;" P line:243 language:JavaScript
|
|
43
|
-
address test/sockets.js /^ address : "localhost",$/;" P line:129 language:JavaScript
|
|
44
|
-
address test/sockets.js /^ address : "localhost",$/;" P line:20 language:JavaScript
|
|
45
|
-
address test/sockets.js /^ address : "localhost",$/;" P line:25 language:JavaScript
|
|
46
|
-
afterEach test/circular.js /^ afterEach(function() {$/;" M line:25 language:JavaScript
|
|
47
|
-
afterEach test/sockets.js /^ afterEach(function() {$/;" M line:48 language:JavaScript
|
|
48
|
-
afterEach test/subscriptions.js /^ afterEach(function() {$/;" M line:21 language:JavaScript
|
|
49
|
-
attach index.js /^ attach(namespace, obj) {$/;" M line:642 language:JavaScript
|
|
50
|
-
attach libraries/unix/src/Datastore.cpp /^ void Datastore::attach($/;" f line:232 language:C++ class:entangld::Datastore signature:( std::string name, void (*handler)(const Message &msg, void *ctx), void *ctx)
|
|
51
|
-
b test/tests.js /^ b: {$/;" P line:14 language:JavaScript
|
|
52
|
-
b test/tests.js /^ b: {$/;" P line:244 language:JavaScript
|
|
53
|
-
beforeEach test/circular.js /^ beforeEach(function() {$/;" M line:10 language:JavaScript
|
|
54
|
-
beforeEach test/sockets.js /^ beforeEach(function() {$/;" M line:15 language:JavaScript
|
|
55
|
-
beforeEach test/subscriptions.js /^ beforeEach(function() {$/;" M line:7 language:JavaScript
|
|
56
|
-
c test/tests.js /^ c: 6$/;" P line:15 language:JavaScript
|
|
57
|
-
c test/tests.js /^ c: 6$/;" P line:245 language:JavaScript
|
|
58
|
-
c test/tests.js /^ c: {},$/;" P line:540 language:JavaScript
|
|
59
|
-
call index.js /^ call(...args) {$/;" M line:213 language:JavaScript
|
|
60
|
-
callback index.js /^ callback : func,$/;" P line:1109 language:JavaScript
|
|
61
|
-
callback libraries/unix/include/Datastore.h /^ void (*callback)(const Message &msg, void *ctx);$/;" m line:128 language:C++ struct:entangld::Datastore::__anon2 access:public
|
|
62
|
-
callback_ctx libraries/unix/include/Datastore.h /^ void *callback_ctx;$/;" m line:131 language:C++ struct:entangld::Datastore::__anon2 access:public
|
|
63
|
-
constructor index.js /^ constructor() {$/;" M line:574 language:JavaScript
|
|
64
|
-
constructor index.js /^ constructor(message) {$/;" M line:154 language:JavaScript
|
|
65
|
-
constructor index.js /^ constructor({path, uuid, callback, downstream, upstream, every}) {$/;" M line:183 language:JavaScript
|
|
66
|
-
constructor index.js /^ constructor({type, path, value, uuid, params, every}) {$/;" M line:35 language:JavaScript
|
|
67
|
-
d test/tests.js /^ d: {$/;" P line:18 language:JavaScript
|
|
68
|
-
d test/tests.js /^ d: {$/;" P line:248 language:JavaScript
|
|
69
|
-
debug_print libraries/unix/samples/debug.c /^void debug_print(int level, const char *file, int line, const char *format, ...)$/;" f line:27 language:C signature:(int level, const char *file, int line, const char *format, ...)
|
|
70
|
-
dereferenced_copy index.js /^function dereferenced_copy(original) {$/;" F line:388 language:JavaScript
|
|
71
|
-
describe test/circular.js /^describe("Circular References", function() {$/;" M line:7 language:JavaScript
|
|
72
|
-
describe test/sockets.js /^describe("Sockets", function() {$/;" M line:12 language:JavaScript
|
|
73
|
-
describe test/subscriptions.js /^describe("Subscription", function() {$/;" M line:4 language:JavaScript
|
|
74
|
-
detach index.js /^ detach(namespace, obj) {$/;" M line:687 language:JavaScript
|
|
75
|
-
detach libraries/unix/src/Datastore.cpp /^ void Datastore::detach(std::string name)$/;" f line:245 language:C++ class:entangld::Datastore signature:(std::string name)
|
|
76
|
-
downstream index.js /^ downstream : (this.downstream === null ? null : true),$/;" M line:366 language:JavaScript
|
|
77
|
-
downstream index.js /^ downstream : obj,$/;" P line:1106 language:JavaScript
|
|
78
|
-
e test/tests.js /^ e: [$/;" P line:19 language:JavaScript
|
|
79
|
-
e test/tests.js /^ e: {$/;" P line:249 language:JavaScript
|
|
80
|
-
entangld libraries/unix/include/Datastore.h /^namespace entangld$/;" n line:19 language:C++
|
|
81
|
-
entangld libraries/unix/include/Message.h /^namespace entangld$/;" n line:14 language:C++
|
|
82
|
-
entangld libraries/unix/src/Datastore.cpp /^namespace entangld$/;" n line:38 language:C++ file:
|
|
83
|
-
event index.js /^ static event(path, value, uuid) {$/;" M line:125 language:JavaScript
|
|
84
|
-
every index.js /^ every : every$/;" P line:1110 language:JavaScript
|
|
85
|
-
every index.js /^ every : every$/;" P line:113 language:JavaScript
|
|
86
|
-
extract_from_path index.js /^function extract_from_path(obj, path) {$/;" F line:464 language:JavaScript
|
|
87
|
-
eyes test/tests.js /^ eyes: "blue",$/;" P line:538 language:JavaScript
|
|
88
|
-
eyes test/tests.js /^ eyes: "blue",$/;" P line:577 language:JavaScript
|
|
89
|
-
f test/tests.js /^ f: {$/;" P line:21 language:JavaScript
|
|
90
|
-
f test/tests.js /^ f: 7$/;" P line:250 language:JavaScript
|
|
91
|
-
from_json libraries/unix/include/Message.h /^ static void from_json(const nlohmann::json &j, Message &msg)$/;" f line:48 language:C++ namespace:entangld signature:(const nlohmann::json &j, Message &msg)
|
|
92
|
-
g test/tests.js /^ g: 7$/;" P line:22 language:JavaScript
|
|
93
|
-
g_debug_level libraries/unix/samples/debug.c /^static int g_debug_level = 0;$/;" v line:12 language:C file:
|
|
94
|
-
g_shutdown_flag libraries/unix/samples/client.cpp /^volatile bool g_shutdown_flag = false;$/;" v line:22 language:C++
|
|
95
|
-
g_shutdown_flag libraries/unix/samples/server.cpp /^volatile bool g_shutdown_flag = false;$/;" v line:21 language:C++
|
|
96
|
-
get index.js /^ get(path, params) {$/;" M line:955 language:JavaScript
|
|
97
|
-
get index.js /^ static get(tree, get_params) {$/;" M line:56 language:JavaScript
|
|
98
|
-
get libraries/unix/src/Datastore.cpp /^ void Datastore::get($/;" f line:47 language:C++ class:entangld::Datastore signature:( std::string path, void (*callback)(const Message &msg, void *ctx), void *callback_ctx, std::string uuid)
|
|
99
|
-
get_uuidstring libraries/unix/src/Datastore.cpp /^static std::string get_uuidstring()$/;" f line:14 language:C++ file: signature:()
|
|
100
|
-
h test/tests.js /^ h: 4$/;" P line:27 language:JavaScript
|
|
101
|
-
handler libraries/unix/include/Datastore.h /^ Message::handler_t handler; \/**< Send a Message to this remote. *\/$/;" m line:112 language:C++ struct:entangld::Datastore::__anon1 access:public
|
|
102
|
-
handler_ctx libraries/unix/include/Datastore.h /^ void *handler_ctx; \/**< User context passed to handler. *\/$/;" m line:113 language:C++ struct:entangld::Datastore::__anon1 access:public
|
|
103
|
-
handler_t libraries/unix/include/Message.h /^ typedef void (*handler_t)(const Message &msg, void *ctx);$/;" t line:20 language:C++ class:entangld::Message access:public
|
|
104
|
-
has_downstream index.js /^ get has_downstream() {$/;" M line:263 language:JavaScript
|
|
105
|
-
has_upstream index.js /^ get has_upstream() {$/;" M line:275 language:JavaScript
|
|
106
|
-
if index.js /^ if(params.limit) {$/;" M line:1316 language:JavaScript
|
|
107
|
-
index index.js /^ this.index = (this.index + 1) % this.every;$/;" M line:216 language:JavaScript
|
|
108
|
-
is_above index.js /^ is_above(path) {$/;" M line:349 language:JavaScript
|
|
109
|
-
is_beneath index.js /^ is_beneath(path) {$/;" M line:339 language:JavaScript
|
|
110
|
-
is_beneath index.js /^function is_beneath(a, b) {$/;" F line:545 language:JavaScript
|
|
111
|
-
is_head index.js /^ get is_head() {$/;" M line:250 language:JavaScript
|
|
112
|
-
is_pass_through index.js /^ get is_pass_through() {$/;" M line:232 language:JavaScript
|
|
113
|
-
is_terminal index.js /^ get is_terminal() {$/;" M line:241 language:JavaScript
|
|
114
|
-
it test/circular.js /^ it("Circular subscriptions don't break", function(done) {$/;" M line:31 language:JavaScript
|
|
115
|
-
it test/sockets.js /^ it("Can get", function(done) {$/;" M line:70 language:JavaScript
|
|
116
|
-
it test/sockets.js /^ it("Can remove subs for persistant sockets", function(done) {$/;" M line:82 language:JavaScript
|
|
117
|
-
it test/sockets.js /^ it("Can remove subs for reconnected sockets", function(done) {$/;" M line:113 language:JavaScript
|
|
118
|
-
it test/sockets.js /^ it("Can subscribe", function(done) {$/;" M line:56 language:JavaScript
|
|
119
|
-
it test/sockets.js /^ it("Cannot remove subs for dropped sockets", function(done) {$/;" M line:97 language:JavaScript
|
|
120
|
-
it test/subscriptions.js /^ it("Can have parallel subscriptions (locallly)", function(done) {$/;" M line:117 language:JavaScript
|
|
121
|
-
it test/subscriptions.js /^ it("Can have parallel subscriptions (locallly)", function(done) {$/;" M line:161 language:JavaScript
|
|
122
|
-
it test/subscriptions.js /^ it("Can have parallel subscriptions (remote)", function(done) {$/;" M line:175 language:JavaScript
|
|
123
|
-
it test/subscriptions.js /^ it("Emit on each subscription", function(done) {$/;" M line:104 language:JavaScript
|
|
124
|
-
it test/subscriptions.js /^ it("Should emit on recieved subscriptions (locally)", function(done) {$/;" M line:37 language:JavaScript
|
|
125
|
-
it test/subscriptions.js /^ it("Should emit on recieved subscriptions (remote)", function(done) {$/;" M line:53 language:JavaScript
|
|
126
|
-
it test/subscriptions.js /^ it("Should emit on recieved unsubscriptions (locally)", function(done) {$/;" M line:44 language:JavaScript
|
|
127
|
-
it test/subscriptions.js /^ it("Should emit on recieved unsubscriptions (remote)", function(done) {$/;" M line:60 language:JavaScript
|
|
128
|
-
it test/subscriptions.js /^ it("Should only trigger subscriptions on an exact match", function(done) {$/;" M line:27 language:JavaScript
|
|
129
|
-
it test/subscriptions.js /^ it("Shouldn't emit on passthrough subscriptions (remote)", function(done) {$/;" M line:86 language:JavaScript
|
|
130
|
-
it test/subscriptions.js /^ it("Shouldn't emit on passthrough unsubscriptions (remote)", function(done) {$/;" M line:94 language:JavaScript
|
|
131
|
-
it test/subscriptions.js /^ it("Shouldn't emit on sent subscriptions (remote)", function(done) {$/;" M line:69 language:JavaScript
|
|
132
|
-
it test/subscriptions.js /^ it("Shouldn't emit on sent unsubscriptions (remote)", function(done) {$/;" M line:77 language:JavaScript
|
|
133
|
-
log test/sockets.js /^console.log = () => {};$/;" M line:10 language:JavaScript
|
|
134
|
-
long_shared libraries/unix/samples/client.cpp /^static struct option long_shared[] = {$/;" v line:25 language:C++ typeref:struct:option file:
|
|
135
|
-
long_shared libraries/unix/samples/server.cpp /^static struct option long_shared[] = {$/;" v line:24 language:C++ typeref:struct:option file:
|
|
136
|
-
m_local_data libraries/unix/include/Datastore.h /^ nlohmann::json m_local_data;$/;" m line:153 language:C++ class:entangld::Datastore access:protected
|
|
137
|
-
m_remotes libraries/unix/include/Datastore.h /^ std::unordered_map<std::string, remote_t> m_remotes;$/;" m line:156 language:C++ class:entangld::Datastore access:protected
|
|
138
|
-
m_requests libraries/unix/include/Datastore.h /^ std::unordered_map<std::string, request_t> m_requests;$/;" m line:162 language:C++ class:entangld::Datastore access:protected
|
|
139
|
-
m_subs libraries/unix/include/Datastore.h /^ std::vector<request_t> m_subs;$/;" m line:168 language:C++ class:entangld::Datastore access:protected
|
|
140
|
-
main libraries/unix/samples/client.cpp /^int main(int argc, char *argv[])$/;" f line:58 language:C++ signature:(int argc, char *argv[])
|
|
141
|
-
main libraries/unix/samples/server.cpp /^int main(int argc, char *argv[])$/;" f line:52 language:C++ signature:(int argc, char *argv[])
|
|
142
|
-
main libraries/unix/test/0.misc/test_init.cpp /^int main()$/;" f line:7 language:C++ signature:()
|
|
143
|
-
main libraries/unix/test/1.get/test_get_basic.cpp /^int main()$/;" f line:7 language:C++ signature:()
|
|
144
|
-
main libraries/unix/test/1.get/test_get_nested.cpp /^int main()$/;" f line:7 language:C++ signature:()
|
|
145
|
-
main libraries/unix/test/1.get/test_get_remote.cpp /^int main()$/;" f line:7 language:C++ signature:()
|
|
146
|
-
main libraries/unix/test/2.set/test_set_basic.cpp /^int main()$/;" f line:8 language:C++ signature:()
|
|
147
|
-
main libraries/unix/test/2.set/test_set_nested.cpp /^int main()$/;" f line:8 language:C++ signature:()
|
|
148
|
-
main libraries/unix/test/2.set/test_set_remote.cpp /^int main()$/;" f line:7 language:C++ signature:()
|
|
149
|
-
main libraries/unix/test/3.sub/test_sub_basic.cpp /^int main(int argc, char *argv[])$/;" f line:10 language:C++ signature:(int argc, char *argv[])
|
|
150
|
-
main libraries/unix/test/3.sub/test_sub_nested.cpp /^int main(int argc, char *argv[])$/;" f line:10 language:C++ signature:(int argc, char *argv[])
|
|
151
|
-
main libraries/unix/test/3.sub/test_sub_remote.cpp /^int main(int argc, char *argv[])$/;" f line:10 language:C++ signature:(int argc, char *argv[])
|
|
152
|
-
main libraries/unix/test/4.unsub/test_unsub_basic.cpp /^int main(int argc, char *argv[])$/;" f line:10 language:C++ signature:(int argc, char *argv[])
|
|
153
|
-
main libraries/unix/test/4.unsub/test_unsub_remote.cpp /^int main(int argc, char *argv[])$/;" f line:10 language:C++ signature:(int argc, char *argv[])
|
|
154
|
-
matches_event_message index.js /^ matches_event_message(msg) {$/;" M line:296 language:JavaScript
|
|
155
|
-
matches_path index.js /^ matches_path(path) {$/;" M line:319 language:JavaScript
|
|
156
|
-
matches_subscription index.js /^ matches_subscription(sub) {$/;" M line:286 language:JavaScript
|
|
157
|
-
matches_unsubscribe_message index.js /^ matches_unsubscribe_message(msg) {$/;" M line:309 language:JavaScript
|
|
158
|
-
matches_uuid index.js /^ matches_uuid(uuid) {$/;" M line:329 language:JavaScript
|
|
159
|
-
more_stores test/tests.js /^ more_stores: {$/;" P line:539 language:JavaScript
|
|
160
|
-
more_stores test/tests.js /^ more_stores: {$/;" P line:578 language:JavaScript
|
|
161
|
-
msg libraries/unix/include/Datastore.h /^ Message msg;$/;" m line:119 language:C++ struct:entangld::Datastore::__anon2 access:public
|
|
162
|
-
name libraries/unix/include/Datastore.h /^ std::string name; \/**< Namespace the store is mapped to. *\/$/;" m line:111 language:C++ struct:entangld::Datastore::__anon1 access:public
|
|
163
|
-
namespace index.js /^ namespace(store) {$/;" M line:627 language:JavaScript
|
|
164
|
-
namespaces index.js /^ get namespaces() {$/;" M line:603 language:JavaScript
|
|
165
|
-
p index.js /^ let p = (result && result.constructor && result.constructor.name$/;" F line:977 language:JavaScript
|
|
166
|
-
params index.js /^ params : params$/;" P line:888 language:JavaScript
|
|
167
|
-
params index.js /^ params : params$/;" P line:97 language:JavaScript
|
|
168
|
-
parse_namespace libraries/unix/src/Datastore.cpp /^ std::string Datastore::parse_namespace(std::string path)$/;" f line:322 language:C++ class:entangld::Datastore signature:(std::string path)
|
|
169
|
-
partial_copy index.js /^function partial_copy(o, max_depth) {$/;" F line:506 language:JavaScript
|
|
170
|
-
path index.js /^ path : path,$/;" P line:1105 language:JavaScript
|
|
171
|
-
path index.js /^ path : path,$/;" P line:128 language:JavaScript
|
|
172
|
-
path index.js /^ path : tree,$/;" P line:111 language:JavaScript
|
|
173
|
-
path index.js /^ path : tree,$/;" P line:95 language:JavaScript
|
|
174
|
-
path libraries/unix/include/Message.h /^ nlohmann::json path; \/**< Datastore path that the message is referencing. *\/$/;" m line:23 language:C++ class:entangld::Message access:public
|
|
175
|
-
port test/sockets.js /^ port : 9876$/;" P line:130 language:JavaScript
|
|
176
|
-
port test/sockets.js /^ port : 9876$/;" P line:21 language:JavaScript
|
|
177
|
-
port test/sockets.js /^ port : 9876$/;" P line:26 language:JavaScript
|
|
178
|
-
print_help libraries/unix/samples/client.cpp /^static void print_help(const char *name)$/;" f line:36 language:C++ file: signature:(const char *name)
|
|
179
|
-
print_help libraries/unix/samples/server.cpp /^static void print_help(const char *name)$/;" f line:34 language:C++ file: signature:(const char *name)
|
|
180
|
-
ptr libraries/unix/include/Datastore.h /^ nlohmann::json::json_pointer ptr;$/;" m line:125 language:C++ struct:entangld::Datastore::__anon2 access:public
|
|
181
|
-
push index.js /^ push(path, data, limit=null) {$/;" M line:828 language:JavaScript
|
|
182
|
-
push libraries/unix/include/Datastore.h /^ inline void push(std::string path, nlohmann::json value)$/;" f line:103 language:C++ class:entangld::Datastore access:public signature:(std::string path, nlohmann::json value)
|
|
183
|
-
receive index.js /^ receive(msg, obj) {$/;" M line:734 language:JavaScript
|
|
184
|
-
receive libraries/unix/src/Datastore.cpp /^ void Datastore::receive(const Message &msg, std::string name)$/;" f line:250 language:C++ class:entangld::Datastore signature:(const Message &msg, std::string name)
|
|
185
|
-
recurse index.js /^ function recurse(o, c, parent, key) {$/;" F line:406 language:JavaScript
|
|
186
|
-
remote libraries/unix/include/Datastore.h /^ remote_t *remote;$/;" m line:122 language:C++ struct:entangld::Datastore::__anon2 access:public
|
|
187
|
-
remote_t libraries/unix/include/Datastore.h /^ } remote_t;$/;" t line:114 language:C++ class:entangld::Datastore typeref:struct:entangld::Datastore::__anon1 access:protected
|
|
188
|
-
request_t libraries/unix/include/Datastore.h /^ } request_t;$/;" t line:132 language:C++ class:entangld::Datastore typeref:struct:entangld::Datastore::__anon2 access:protected
|
|
189
|
-
reset libraries/unix/src/Datastore.cpp /^ void Datastore::reset()$/;" f line:40 language:C++ class:entangld::Datastore signature:()
|
|
190
|
-
set index.js /^ set(path, data, operation_type="set", params={}) {$/;" M line:846 language:JavaScript
|
|
191
|
-
set libraries/unix/src/Datastore.cpp /^ void Datastore::set(std::string path, nlohmann::json value, bool push)$/;" f line:89 language:C++ class:entangld::Datastore signature:(std::string path, nlohmann::json value, bool push)
|
|
192
|
-
set_debug_level libraries/unix/samples/debug.c /^void set_debug_level(int debug_level)$/;" f line:14 language:C signature:(int debug_level)
|
|
193
|
-
setpush index.js /^ static setpush({type = "set", tree, value, params}) {$/;" M line:91 language:JavaScript
|
|
194
|
-
static_copy index.js /^ static_copy() {$/;" M line:362 language:JavaScript
|
|
195
|
-
subscribe index.js /^ static subscribe(tree, uuid, every = null) {$/;" M line:108 language:JavaScript
|
|
196
|
-
subscribe index.js /^ subscribe(path, func, every = null) {$/;" M line:1067 language:JavaScript
|
|
197
|
-
subscribe libraries/unix/src/Datastore.cpp /^ void Datastore::subscribe($/;" f line:138 language:C++ class:entangld::Datastore signature:( std::string path, void (*callback)(const Message &msg, void *ctx), void *callback_ctx, std::string uuid)
|
|
198
|
-
subscribed_to index.js /^ subscribed_to(path) {$/;" M line:1145 language:JavaScript
|
|
199
|
-
subscriptions index.js /^ get subscriptions() {$/;" M line:617 language:JavaScript
|
|
200
|
-
test_done libraries/unix/test/3.sub/test_sub_basic.cpp /^volatile bool test_done[3] = {false, false, false};$/;" v line:8 language:C++
|
|
201
|
-
test_done libraries/unix/test/3.sub/test_sub_nested.cpp /^volatile bool test_done = false;$/;" v line:8 language:C++
|
|
202
|
-
test_done libraries/unix/test/3.sub/test_sub_remote.cpp /^volatile bool test_done[2] = {false, false};$/;" v line:8 language:C++
|
|
203
|
-
test_done libraries/unix/test/4.unsub/test_unsub_basic.cpp /^volatile bool test_done[3] = {false, false, false};$/;" v line:8 language:C++
|
|
204
|
-
test_done libraries/unix/test/4.unsub/test_unsub_remote.cpp /^volatile bool test_done[2] = {false, false};$/;" v line:8 language:C++
|
|
205
|
-
title test/tests.js /^ title: "store C is located at this level"$/;" P line:541 language:JavaScript
|
|
206
|
-
title test/tests.js /^ title: "store C is located at this level"$/;" P line:579 language:JavaScript
|
|
207
|
-
to_json libraries/unix/include/Message.h /^ static void to_json(nlohmann::json &j, const Message &msg)$/;" f line:33 language:C++ namespace:entangld signature:(nlohmann::json &j, const Message &msg)
|
|
208
|
-
transmit index.js /^ transmit(func) {$/;" M line:715 language:JavaScript
|
|
209
|
-
transmit libraries/unix/include/Datastore.h /^ static inline void transmit(remote_t *remote, const Message &msg)$/;" f line:147 language:C++ class:entangld::Datastore access:protected signature:(remote_t *remote, const Message &msg)
|
|
210
|
-
tree index.js /^ tree : tree,$/;" P line:886 language:JavaScript
|
|
211
|
-
type index.js /^ type : operation_type,$/;" P line:885 language:JavaScript
|
|
212
|
-
type index.js /^ type : "event",$/;" P line:127 language:JavaScript
|
|
213
|
-
type index.js /^ type : "subscribe",$/;" P line:110 language:JavaScript
|
|
214
|
-
type index.js /^ type: "get",$/;" P line:58 language:JavaScript
|
|
215
|
-
type index.js /^ type: "unsubscribe",$/;" P line:142 language:JavaScript
|
|
216
|
-
type index.js /^ type: "value",$/;" P line:74 language:JavaScript
|
|
217
|
-
type index.js /^ type: type,$/;" P line:94 language:JavaScript
|
|
218
|
-
type libraries/unix/include/Message.h /^ std::string type; \/**< Message type. @see Datastore::receive *\/$/;" m line:22 language:C++ class:entangld::Message access:public
|
|
219
|
-
unsubscribe index.js /^ static unsubscribe(uuid) {$/;" M line:140 language:JavaScript
|
|
220
|
-
unsubscribe index.js /^ unsubscribe(path_or_uuid) {$/;" M line:1166 language:JavaScript
|
|
221
|
-
unsubscribe libraries/unix/src/Datastore.cpp /^ int Datastore::unsubscribe(std::string path, std::string uuid)$/;" f line:183 language:C++ class:entangld::Datastore signature:(std::string path, std::string uuid)
|
|
222
|
-
unsubscribe_tree index.js /^ unsubscribe_tree(path) {$/;" M line:1205 language:JavaScript
|
|
223
|
-
upstream index.js /^ upstream : (this.upstream === null ? null : true),$/;" M line:367 language:JavaScript
|
|
224
|
-
upstream index.js /^ upstream : upstream,$/;" P line:1107 language:JavaScript
|
|
225
|
-
uuid index.js /^ uuid : uuid,$/;" P line:1108 language:JavaScript
|
|
226
|
-
uuid index.js /^ uuid : uuid$/;" P line:130 language:JavaScript
|
|
227
|
-
uuid index.js /^ uuid : uuid$/;" P line:144 language:JavaScript
|
|
228
|
-
uuid index.js /^ uuid : uuid,$/;" P line:112 language:JavaScript
|
|
229
|
-
uuid libraries/unix/include/Message.h /^ std::string uuid; \/**< Unique identifier for request tracking. *\/$/;" m line:24 language:C++ class:entangld::Message access:public
|
|
230
|
-
uuid1 test/subscriptions.js /^ let uuid1 = s.subscribe("path2.B.some_data", () => {count += 1});$/;" F line:251 language:JavaScript
|
|
231
|
-
uuid1 test/subscriptions.js /^ let uuid1 = s.subscribe("some_data", () => {count += 1});$/;" F line:220 language:JavaScript
|
|
232
|
-
uuid2 test/subscriptions.js /^ let uuid2 = a.subscribe("path3.B.some_data", () => {count += 1})$/;" F line:252 language:JavaScript
|
|
233
|
-
uuid2 test/subscriptions.js /^ let uuid2 = s.subscribe("some_data", () => {count += 1});$/;" F line:221 language:JavaScript
|
|
234
|
-
uuids index.js /^ const uuids = subscriptions.map(s => s.uuid);$/;" F line:1243 language:JavaScript
|
|
235
|
-
value index.js /^ value : data,$/;" P line:887 language:JavaScript
|
|
236
|
-
value index.js /^ value : get_params,$/;" P line:60 language:JavaScript
|
|
237
|
-
value index.js /^ value : value,$/;" P line:129 language:JavaScript
|
|
238
|
-
value index.js /^ value : value,$/;" P line:76 language:JavaScript
|
|
239
|
-
value index.js /^ value : value,$/;" P line:96 language:JavaScript
|
|
240
|
-
value index.js /^ static value(get_msg, value) {$/;" M line:72 language:JavaScript
|
|
241
|
-
value libraries/unix/include/Message.h /^ nlohmann::json value; \/**< Message payload. *\/$/;" m line:25 language:C++ class:entangld::Message access:public
|
|
242
|
-
wait test/circular.js /^function wait (ms) {$/;" F line:3 language:JavaScript
|
|
243
|
-
wait test/sockets.js /^function wait (ms) {$/;" F line:5 language:JavaScript
|
|
244
|
-
while index.js /^ while(A.length && B.length){$/;" M line:557 language:JavaScript
|