closeAsync

fun closeAsync(completion: (Exception?) -> Unit? = null)

コネクションを閉じます。 オープン済みのストリームは全て閉じられます。

Parameters

completion

処理完了時のコールバック。