UNPKG

@intuitionrobotics/push-pub-sub

Version:
9 lines (8 loc) 344 B
import { ObjectTS } from "@intuitionrobotics/ts-common"; import { SubscribeProps } from "./_imports"; export declare class PushKey<K extends string, P extends SubscribeProps, D extends ObjectTS> { private readonly key; private readonly persist; constructor(key: K, persist?: boolean); push(data: D, props?: P): Promise<void>; }