Skip to content

Commit

Permalink
Merge pull request #3424 from Unitech/sendDataToProcessId_def
Browse files Browse the repository at this point in the history
Add sendDataToProcessId into typescript definitions
  • Loading branch information
wallet77 authored Jan 31, 2018
2 parents e46b15d + 4a2e8d2 commit 95e85ee
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 95e85ee

Please sign in to comment.