Function buildMailboxStateMap
- buildMailboxStateMap<T>(state?): {
add: ((peer: any, msgnum: any, body: any) => void);
remove: ((peer: any, msgnum: any) => void);
setAcknum: ((peer: any, msgnum: any) => void);
} Parameters
Optional
state: Pick<Map<string, T>, "get" | "has"> & {
set: ((key: string, value: T) => void);
} = ...
Returns {
add: ((peer: any, msgnum: any, body: any) => void);
remove: ((peer: any, msgnum: any) => void);
setAcknum: ((peer: any, msgnum: any) => void);
}
add: ((peer: any, msgnum: any, body: any) => void)
- (peer, msgnum, body): void
Parameters
- peer: any
- msgnum: any
- body: any
Returns void
remove: ((peer: any, msgnum: any) => void)
- (peer, msgnum): void
Returns void
setAcknum: ((peer: any, msgnum: any) => void)
- (peer, msgnum): void
Returns void