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

Remove members once a subscription is exhausted #125

Open
reyraa opened this issue May 28, 2023 · 0 comments
Open

Remove members once a subscription is exhausted #125

reyraa opened this issue May 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@reyraa
Copy link
Member

reyraa commented May 28, 2023

Description

Muzikie Blockchain should automatically remove all members once the subscription is exhausted. A subscription is exhausted if the remaining consumable is less than required for streaming an audio. Once exhausted, the remaining balance should be transferred to the dev account.

Acceptance Criteria

  • When users try streaming with a subscription and the remaining consumable is not enough we should preform an exhaustion cleanup action.
  • Exhaustion cleanup action removes all members from the subscription, meaning, sets the members of the subscription to an empty array, and removes the shared value of each member.
  • Sufficient unit test is desired.
@reyraa reyraa added the enhancement New feature or request label May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant