a little updates
This commit is contained in:
@@ -33,9 +33,10 @@ expect class FileBasedInputProvider : SimpleInputProvider {
|
||||
}
|
||||
|
||||
@Serializable(SimpleInputProviderSerializer::class)
|
||||
class CustomInputProvider(private val provider: () -> Input) : SimpleInputProvider {
|
||||
override val contentBytes: Long?
|
||||
get() = null
|
||||
class CustomInputProvider(
|
||||
override val contentBytes: Long? = null,
|
||||
private val provider: () -> Input
|
||||
) : SimpleInputProvider {
|
||||
override fun invoke(): Input = provider()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user