Skip to content

Commit

Permalink
docs: add sendDataToProcessId into typescript definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
wallet77 committed Jan 24, 2018
1 parent 1960169 commit 4a2e8d2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4a2e8d2

Please sign in to comment.