externalFactory

fun externalFactory(f: (Any?) -> Any): (Any?) -> Any

Simple function that types a lambda as a factory function that can be used as the return in the implementation of ExternalSource.getFactory.