mirai
2.15.0-RC
common
jvmBase
mirai-core-api
/
net.mamoe.mirai.utils
/
ExternalResource
/
toAutoCloseable
to
Auto
Closeable
common
jvmBase
expect
open
fun
toAutoCloseable
(
)
:
ExternalResource
创建一个在
使用一次
后就会自动 close 的
ExternalResource
.
Since
2.8.0
actual
open
fun
toAutoCloseable
(
)
:
ExternalResource
创建一个在
使用一次
后就会自动 close 的
ExternalResource
.
Since
2.8.0