com.pubnub.internal.presence.eventengine.PresenceEventEngine.kt Maven / Gradle / Ivy
package com.pubnub.internal.presence.eventengine
import com.pubnub.internal.eventengine.EventEngine
import com.pubnub.internal.eventengine.Sink
import com.pubnub.internal.eventengine.Source
import com.pubnub.internal.presence.eventengine.effect.PresenceEffectInvocation
import com.pubnub.internal.presence.eventengine.event.PresenceEvent
import com.pubnub.internal.presence.eventengine.state.PresenceState
internal typealias PresenceEventEngine = EventEngine
internal fun PresenceEventEngine(
effectSink: Sink,
eventSource: Source,
currentState: PresenceState = PresenceState.HeartbeatInactive,
): PresenceEventEngine = EventEngine(effectSink, eventSource, currentState)