Skip to content

Add Method to Clear InboxΒ #74

@nixpulvis

Description

@nixpulvis

I think I need a method to clear an inbox. My use case is in implementing a button click which locks the application and clears user data. I have some inboxes which are used to load user data. What I don't want to happen is that I lock the app, then an inbox is read and the user is still loaded.

I can work around this by putting the read calls behind a logged in flag which locking the app sets, but I then worry about duplicate messages when the user logs in again.

Open to other ideas, and thanks for the simple and great crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions