Skip to content

Commit

Permalink
Remove unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
icepeppermint committed Jan 7, 2023
1 parent d201218 commit 6f6e2ce
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package com.linecorp.conditional.kotlin

import kotlinx.coroutines.*
import java.util.concurrent.TimeUnit
import kotlin.time.Duration
import kotlin.time.DurationUnit

Expand Down Expand Up @@ -172,11 +171,6 @@ abstract class CoroutineCondition(
*/
internal fun delayMillis(delayMillis: Long) = also { this.delayMillis = delayMillis }

/**
* Returns the [AttributeUpdater] with [delayMillis] updated.
*/
internal fun delay(delay: Long, unit: TimeUnit) = also { delayMillis = unit.toMillis(delay) }

/**
* Returns the [AttributeUpdater] with [delayMillis] updated.
*/
Expand All @@ -187,11 +181,6 @@ abstract class CoroutineCondition(
*/
internal fun timeoutMillis(timeoutMillis: Long) = also { this.timeoutMillis = timeoutMillis }

/**
* Returns the [AttributeUpdater] with [timeoutMillis] updated.
*/
internal fun timeout(timeout: Long, unit: TimeUnit) = also { timeoutMillis = unit.toMillis(timeout) }

/**
* Returns the [AttributeUpdater] with [timeoutMillis] updated.
*/
Expand Down

0 comments on commit 6f6e2ce

Please sign in to comment.