core / pragma.services / DistributedService / onSessionTerminated /
onSessionTerminated #
open suspend fun onSessionTerminated(notification: PlayerSessionRpc.SessionTerminatedForServiceV1Notification)
Java does not support annotation inheritance, so if the function is "overridden", the overriding classes need to redeclare the @PragmaNotification annotation. See https://stackoverflow.com/questions/1624084/why-is-it-not-possible-to-extend-annotations-in-java