PromiseSpaceOf<B, C, P>: {
    consume: {
        [K in keyof (B & C)]: Promise<(B & C)[K]>
    };
    produce: {
        [K in keyof (B & P)]: Producer<(B & P)[K]>
    };
}

Type Parameters

  • B

    Bidirectional

  • C = {}

    Consume only

  • P = {}

    Produce only

Type declaration

  • consume: {
        [K in keyof (B & C)]: Promise<(B & C)[K]>
    }
  • produce: {
        [K in keyof (B & P)]: Producer<(B & P)[K]>
    }

Generated using TypeDoc