| 5 | import com.snapchat.client.valdi_core.ModuleFactory |
| 6 | |
| 7 | abstract 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected