remove

abstract fun remove(key: Any): ContinuousSessionProvider<T, R>?(source)

移除某个指定 key 的会话。 remove 仅会从记录中移除,不会使用 ContinuousSessionProvider.cancel, 需要由调用者主动使用。