You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Make a group state store that conforms to the GroupStateStorage traitlet group_state_store = MyGroupStateStore::new();let client = Client::builder().group_state_storage(group_state_store)// Transfer the ownership of the group state storage
.....build();let group = client.load_group(b"foo").unwrap();
In the above, load_group first calls GroupStateStorage::state to load the group state matching group id "foo".
After (1.x)
Resume Group API
Instead of calling the storage interface internally, the resume_group function will take a pre-loaded GroupState that was previously recorded by calling Group::export_state_update as described in #212.
Calling resume_group does not load any prior epoch data. Data from prior epochs will be provided if necessary as part of processing an inbound message.
The text was updated successfully, but these errors were encountered:
Background
Part of #211
Before (0.x)
In the above,
load_group
first calls GroupStateStorage::state to load the group state matching group id "foo".After (1.x)
Resume Group API
Instead of calling the storage interface internally, the
resume_group
function will take a pre-loadedGroupState
that was previously recorded by callingGroup::export_state_update
as described in #212.Calling
resume_group
does not load any prior epoch data. Data from prior epochs will be provided if necessary as part of processing an inbound message.The text was updated successfully, but these errors were encountered: