← Back to Stormify Documentation

attachTo

abstract fun attachTo(stormify: Stormify)

Binds stormify to this object. Implementations store the reference and may reset any state that depends on the previously-attached instance.

Prefer Stormify.attach when you want fluent chaining (val x = stormify.attach(obj)).