Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
CziSKY committed Jan 15, 2024
1 parent 0d49cfc commit c6e3bb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ open class Chain(val block: suspend Chain.() -> Unit) {

suspend fun <T> sync(predicate: () -> Boolean, period: Long, delay: Long, block: () -> T): T {
return withContext(chainDispatch) {
SynchronizeRepeatTask(block, period, delay, predicate).execute()
SynchronousRepeatChain(block, period, delay, predicate).execute()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package taboolib.expansion
import kotlinx.coroutines.CompletableDeferred
import taboolib.common.platform.function.submit

class SynchronizeRepeatTask<T>(
class SynchronousRepeatChain<T>(
override val block: () -> T,
private val period: Long,
private val delay: Long,
Expand Down

0 comments on commit c6e3bb5

Please sign in to comment.