AquaTin/tests/pingpong/index.js

43 lines
621 B
JavaScript
Raw Permalink Normal View History

2019-09-18 01:38:13 -04:00
const {Collexion, Link, LinkArray} = require('./../../core/Collexion.js');
const PingPong = require('./pingpong.js')
;(async () => {
2019-10-17 14:50:16 -04:00
const collexion = new Collexion({
A: {
2019-09-18 01:38:13 -04:00
Code: PingPong,
Data: {
2019-10-17 14:50:16 -04:00
start: true,
boop: 'B'
2019-09-18 01:38:13 -04:00
}
},
2019-10-17 14:50:16 -04:00
B: {
2019-09-18 01:38:13 -04:00
Code: PingPong,
Data: {
2019-10-17 14:50:16 -04:00
boop: 'A'
2019-09-18 01:38:13 -04:00
}
}
2019-10-17 14:50:16 -04:00
});
2019-09-18 01:38:13 -04:00
})();
2019-09-18 00:03:29 -04:00
// const ExampleModule = require('./module.js.js');
// module.exports = {
// Entities: {
// A: {
// Code: ExampleModule,
// Data: {
// thing: ref('B'),
// boop: true
// }
// },
// B: {
// Code: ExampleModule,
// Data: {
// thing: ref('B')
// }
// }
// }
// }