← Back to Stormify Documentation

closeSuspending

suspend fun closeSuspending()

Closes the suspending connection pool if it was ever created; a no-op otherwise. Use this in shutdown hooks where touching suspending just to close it would needlessly spin up a pool.