Currently the schedule functions returns an Uuid when created. And as long as this is only stored locally i.e:
let id = ctx.schedule(delay,
interv,
actor,
None,
"a scheduled msg".into());
ctx.cancel_schedule(id);
Everything is fine.
But if you wish to store that variable in a struct then a problem arises. Because that type is not available from riker. So what I would wish for is that either riker re-exports the Uuid type or makes a wrapper around it and make that type available ofr library users.
Currently the schedule functions returns an Uuid when created. And as long as this is only stored locally i.e:
Everything is fine.
But if you wish to store that variable in a struct then a problem arises. Because that type is not available from riker. So what I would wish for is that either riker re-exports the Uuid type or makes a wrapper around it and make that type available ofr library users.