Subscription

com.raquo.airstream.ownership.Subscription
class Subscription(val owner: Owner, cleanup: () => Unit)

Represents a leaky resource that needs to be cleaned up.

Subscription is linked for its life to a given owner. It can be killed by that owner, or externally using .kill().

See also: Ownership documentation, as well as Owner scaladoc

Value parameters

cleanup

Note: Must not throw!

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def isKilled: Boolean
def kill(): Unit