storeSessionData method
Updates a session's data.
correlation_id
(optional) transaction id to trace execution through call chain.data
an data to be updated. Return (optional) Future that receives updated session Throws error.
Implementation
@override
Future<SessionV1> storeSessionData(
String? correlationId, String sessionId, data) async {
var timing = instrument(correlationId, 'sessions.store_session_data');
var session =
await controller.storeSessionData(correlationId, sessionId, data);
timing.endTiming();
return session;
}