FfiV2Subscription

Subscription to a stream of V2 Messages

Constructors

Link copied to clipboard
constructor(pointer: Pointer)
constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open suspend override fun end()

End the subscription, waiting for the subscription to close entirely.

Link copied to clipboard
open override fun isClosed(): Boolean

Check if the subscription is closed

Link copied to clipboard
fun uniffiClonePointer(): Pointer
Link copied to clipboard
open suspend override fun update(req: FfiV2SubscribeRequest)

Update subscription with new topics