This commit is contained in:
Tony Garnock-Jones 2019-06-18 15:31:39 +01:00
parent a0f78c6575
commit c406c7a96d
1 changed files with 8 additions and 6 deletions

View File

@ -46,12 +46,14 @@ describe('dataspace', () => {
};
return [Observe(Capture(Discard())), handler];
});
Dataspace.deferTurn(() => {
// console.log('after defer');
Dataspace.send(1234);
// console.log('after send');
Dataspace.spawn('secondproc', () => {
// console.log('secondproc boot');
Dataspace.currentFacet().addStartScript(() => {
Dataspace.deferTurn(() => {
// console.log('after defer');
Dataspace.send(1234);
// console.log('after send');
Dataspace.spawn('secondproc', () => {
// console.log('secondproc boot');
});
});
});
});