action
abstract fun action(action: ProjectionAction<*>, key: ProjectionValue = ProjectionValue.Absent): Long(source)
Binds an event endpoint and returns its opaque positive session-local identity. Changing key retires the previous endpoint at this declaration position, so queued events for an obsolete subscription are acknowledged without invoking its replacement handler.