Function fromProcessorToService

  • 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 }).

    Type Parameters

    • T = any

    Parameters

    Returns T

Generated using TypeDoc