fromProcessorToService<T>(processor: IProcessorCore, methodNames: string[]): T
Creates an instance of a service, from a given processor and service methods,
where each call to service.method(payload) is implemented as
processor.process({ kind: 'method', payload, uid }).
Creates an instance of a service, from a given processor and service methods, where each call to
service.method(payload)
is implemented asprocessor.process({ kind: 'method', payload, uid })
.