closeSession method
Close a session by it's id.
correlation_id
(optional) transaction id to trace execution through call chain.sessionId
an id of the session to be closed Return Future that receives closed session Throws error.
Implementation
@override
Future<SessionV1> closeSession(
String? correlationId, String sessionId) async {
var timing = instrument(correlationId, 'sessions.close_session');
var session = await controller.closeSession(correlationId, sessionId);
timing.endTiming();
return session;
}