Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MutateStream<T, E, S>

MutateStream allows mutating services to send back success or failure events to requesting actors.

Type parameters

  • T = any

  • E = any

  • S = any

Hierarchy

Implemented by

Index

Methods

  • error(error: E): void
  • Something went wrong with mutation

    Parameters

    • error: E

      value to pass back to the mutator

    Returns void

  • success(success: S): void
  • The mutation was a success!

    Parameters

    • success: S

      value to pass back to mutator

    Returns void

  • unsubscribe(): void

Generated using TypeDoc