eclipse-score / eclipse-score/communication

Improvement: Add Subscription State Change APIs Support on Rust API Lib

Open
#560 0 comments 0 reactions 0 assignees View on GitHub
rust-api
Dominant language
C++
Stars
62
Forks
97
Avg merge
1d 1h
Merged PRs (30d)
72

Description

### What

C++ offers the `GetSubscriptionState()` (sync) and `SetSubscriptionStateChangeHandler()` (async) to get the current subscription state of subscribed event.

### How

Implement same APIs support in Rust COM-API Lib.

### Estimates for realization

0

### Category

- [x] Affects Detailed Design

### Requirements / Architecture

- [ ] Requirements / Architecture are not affected by this change?

Contributor guide

Open the contributing guide

Research direction

Start by locating the Rust COM-API Lib entry points for subscription handling and compare them with the C++ GetSubscriptionState() and SetSubscriptionStateChangeHandler() APIs. Implement support for both current-state retrieval and asynchronous state-change handling, then verify that the Rust API matches the stated C++ behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, rust
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.