← Back to Stormify Documentation

suspending

fun Stormify.suspending(config: PoolConfig = PoolConfig()): SuspendStormify

Wraps this Stormify instance with a coroutine-aware transaction API backed by a DefaultSuspendConnectionPool configured with config. Safe to call multiple times with different configs; each returned SuspendStormify is independent.