Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap or re-export Uuid. #117

Open
Superhepper opened this issue Jun 22, 2020 · 1 comment
Open

Wrap or re-export Uuid. #117

Superhepper opened this issue Jun 22, 2020 · 1 comment

Comments

@Superhepper
Copy link

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.

@leenozara
Copy link
Contributor

+1 Agreed. This should be wrapped as something like a ScheduleId. Thank you for the suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants