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]; return [Observe(Capture(Discard())), handler];
}); });
Dataspace.deferTurn(() => { Dataspace.currentFacet().addStartScript(() => {
// console.log('after defer'); Dataspace.deferTurn(() => {
Dataspace.send(1234); // console.log('after defer');
// console.log('after send'); Dataspace.send(1234);
Dataspace.spawn('secondproc', () => { // console.log('after send');
// console.log('secondproc boot'); Dataspace.spawn('secondproc', () => {
// console.log('secondproc boot');
});
}); });
}); });
}); });