kotlin-stdlib / kotlin.js / Promise / finally finally JS 1.1 open fun finally ( onFinally : ( ) -> Unit ) : Promise < T > (source)