MCPcopy Create free account
hub / github.com/Snapchat/Valdi / ValdiBridgeModule

Class ValdiBridgeModule

valdi/src/java/com/snap/valdi/modules/ValdiBridgeModule.kt:7–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import com.snapchat.client.valdi_core.ModuleFactory
6
7abstract class ValdiBridgeModule: ModuleFactory() {
8
9 protected inline fun makeBridgeMethod(crossinline call: (marshaller: ValdiMarshaller) -> Unit): ValdiFunction {
10 return object: ValdiFunction {
11 override fun perform(marshaller: ValdiMarshaller): Boolean {
12 call(marshaller)
13 return true
14 }
15 }
16 }
17
18}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected