removeSession

abstract fun removeSession(sessionId: String): PromiseLike<Void?>(source)

Removes the session corresponding to session id.

If the removal is successful, the onDidChangeSessions event should be fired.

If a session cannot be removed, the provider should reject with an error message.

Parameters

sessionId

The id of the session to remove.

Online Documentation