From 4a2e8d2d2c4b38fe0ff2377dfe32fce9a43c8044 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 {