From e8a2991591b6b793556466c377737fe7fc2a5f5c Mon Sep 17 00:00:00 2001 From: vince Date: Wed, 24 Jan 2018 11:39:02 +0100 Subject: [PATCH] docs: add sendDataToProcessId into typescript definitions --- types/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/index.d.ts b/types/index.d.ts index b78d1fd27..dba5c2303 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -170,6 +170,14 @@ export function sendSignalToProcessName(signal:string|number, process: number|st */ export function startup(platform: Platform, errback: ErrResultCallback): void; +/** + * - Send an set of data as object to a specific process + * @param proc_id + * @param packet + * @param cb + */ +export function sendDataToProcessId(proc_id: number, packet: object, cb: ErrResultCallback): void; + // Interfaces export interface Proc {