
mb.pie.runtime.layer.Noop.kt Maven / Gradle / Ivy
The newest version!
package mb.pie.runtime.layer
import mb.pie.api.*
/**
* A build layer that does nothing. For debugging or benchmarking purposes only.
* DO NOT USE in production, as it disables checking for inconsistencies in the build.
*/
class NoopLayer : Layer {
override fun requireTopDownStart(key: TaskKey, input: In) {}
override fun requireTopDownEnd(key: TaskKey) {}
override fun validatePreWrite(key: TaskKey, data: TaskData, txn: StoreReadTxn) {}
override fun validatePostWrite(key: TaskKey, data: TaskData, txn: StoreReadTxn) {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy