| 19 | // Parent makes queries<T> |
| 20 | // Child responds<T> |
| 21 | export interface Message<T> { |
| 22 | message: string; |
| 23 | id: string; |
| 24 | data?: T; |
| 25 | error?: { |
| 26 | method: string; |
| 27 | message: string; |
| 28 | stack: string; |
| 29 | details: any; |
| 30 | }; |
| 31 | /** Is this message a request or a response */ |
| 32 | isRequest: boolean; |
| 33 | } |
| 34 | |
| 35 | export interface CastMessage<T> { |
| 36 | message: string; |
nothing calls this directly
no outgoing calls
no test coverage detected