mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-12 05:50:27 +08:00
Fix typo
This commit is contained in:
parent
44cda2b196
commit
2fcb7b88f4
@ -194,8 +194,8 @@ internal abstract class TIMPCBotBase constructor(
|
||||
|
||||
internal suspend inline fun <reified P : Packet> OutgoingPacket.sendAndExpect(
|
||||
checkSequence: Boolean = true,
|
||||
timeoutMillist: Long = 5.secondsToMillis
|
||||
): P = withTimeout(timeoutMillist) { sendAndExpectAsync<P, P>(checkSequence) { it }.await() }
|
||||
timeoutMillis: Long = 5.secondsToMillis
|
||||
): P = withTimeout(timeoutMillis) { sendAndExpectAsync<P, P>(checkSequence) { it }.await() }
|
||||
|
||||
internal suspend inline fun OutgoingPacket.send() = network.socket.sendPacket(this)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user