SourceMetadata

SourceMetadata.kt

Based on the IOS version

Author

Jason Suto 01/08/24

Constructors

Link copied to clipboard
constructor(data: DataType, url: URL?)

Properties

Link copied to clipboard
lateinit var _data: DataType
Link copied to clipboard
Link copied to clipboard
var decode: (metadata: DataType, jsonData: ContactsContract.Contacts.Data) -> DataType?
Link copied to clipboard
open override val eventDispatcher: EventDispatcher
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var noData: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var url: URL?

Functions

Link copied to clipboard
fun load(request: URLRequest, credential: AccessToken): Boolean
Link copied to clipboard
inline fun <EventType : Event> EventSource.publisher(eventType: Class<EventType>): Flow<EventType>
Link copied to clipboard
inline suspend fun <EventType : Event> EventSource.subscribe(eventType: Class<EventType>, crossinline handler: (EventType) -> Unit)
Link copied to clipboard