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

Create a simplified status for offetset #89

Open
Zarquan opened this issue Nov 17, 2024 · 0 comments
Open

Create a simplified status for offetset #89

Zarquan opened this issue Nov 17, 2024 · 0 comments

Comments

@Zarquan
Copy link
Member

Zarquan commented Nov 17, 2024

Create a new simpler status flag for offerset {OFFERED|ACCEPTED|REJECTED}.
The status of an offerset reflects the status of the sessions it contains.

Offerset status starts as OFFERED.
If at least one of the sessions are OFFERED, then the offerset status changes to OFFERED,
If one of the sessions is ACCEPTED, then the offerset status changes to ACCEPTED,
If all of the sessions are REJECTED, then the offerset status changes to REJECTED,

If the offerset status is OFFERED, then the client may update the status to REJECTED.
Doing so will update all of the sessions to REJECTED.

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

1 participant