Type Alias: ActionPattern<T>
ActionPattern<
T> =Record<string,any> &T
The pattern identifying an action: an object of key/value pairs ({cmd: 'user.create'}), declared by a @ServiceAction (or the action decorator of another channel) and matched against the incoming messages. The type parameter types its known keys; any other key is allowed.
Type Parameters
T
T extends Record<string, any> = { }