Discriminated output based on discrimiated input - tRPC