Commit 2fcb7b88 authored by Him188's avatar Him188

Fix typo

parent 44cda2b1
...@@ -194,8 +194,8 @@ internal abstract class TIMPCBotBase constructor( ...@@ -194,8 +194,8 @@ internal abstract class TIMPCBotBase constructor(
internal suspend inline fun <reified P : Packet> OutgoingPacket.sendAndExpect( internal suspend inline fun <reified P : Packet> OutgoingPacket.sendAndExpect(
checkSequence: Boolean = true, checkSequence: Boolean = true,
timeoutMillist: Long = 5.secondsToMillis timeoutMillis: Long = 5.secondsToMillis
): P = withTimeout(timeoutMillist) { sendAndExpectAsync<P, P>(checkSequence) { it }.await() } ): P = withTimeout(timeoutMillis) { sendAndExpectAsync<P, P>(checkSequence) { it }.await() }
internal suspend inline fun OutgoingPacket.send() = network.socket.sendPacket(this) internal suspend inline fun OutgoingPacket.send() = network.socket.sendPacket(this)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment