Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
o

AsyncKey

object AsyncKey

Creates and inspects AsyncKey values.

Defined by scalive.AsyncKey. View source (scalive/api/src/scalive/AsyncKey.scala:16-30)

Extension methods1

value

extension def value[A](key: AsyncKey$package.AsyncKey[A]): String

Returns the exact runtime task name stored in key.

Defined by scalive.AsyncKey.value. View source (scalive/api/src/scalive/AsyncKey.scala:30-30)

Methods1

apply

def apply[A](value: String): AsyncKey$package.AsyncKey[A]

Creates a typed async key from its exact runtime name.

No validation or normalization is performed.

Defined by scalive.AsyncKey.apply. View source (scalive/api/src/scalive/AsyncKey.scala:21-21)

Givens1

given_CanEqual_AsyncKey_AsyncKey

given given_CanEqual_AsyncKey_AsyncKey[A, B]: CanEqual[AsyncKey$package.AsyncKey[A], AsyncKey$package.AsyncKey[B]]

Permits keys with different result parameters to be compared by runtime name.

This is useful for comparing a typed key with the erased key exposed by LiveAsyncEvent.

Defined by scalive.AsyncKey.given_CanEqual_AsyncKey_AsyncKey. View source (scalive/api/src/scalive/AsyncKey.scala:27-27)