Search
Preparing search index...
The search index is not available
tridactyl
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"native_background"
External module "native_background"
Index
Interfaces
Message
Resp
Type aliases
Message
Command
Variables
NATIVE_
NAME
logger
Functions
editor
get
Best
Editor
get
Native
Messenger
Version
inpath
read
run
send
Native
Msg
temp
write
Type aliases
Message
Command
Message
Command
:
"version"
|
"run"
|
"read"
|
"write"
|
"temp"
Variables
NATIVE_
NAME
NATIVE_
NAME
:
"tridactyl"
= "tridactyl"
logger
logger
:
Logger
= new Logger("native")
Functions
editor
editor
(
file
:
string
, content
?:
string
)
:
Promise
<
MessageResp
>
Parameters
file:
string
Optional
content:
string
Returns
Promise
<
MessageResp
>
get
Best
Editor
get
Best
Editor
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
get
Native
Messenger
Version
get
Native
Messenger
Version
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
inpath
inpath
(
cmd
:
any
)
:
Promise
<
boolean
>
Parameters
cmd:
any
Returns
Promise
<
boolean
>
read
read
(
file
:
string
)
:
Promise
<
MessageResp
>
Parameters
file:
string
Returns
Promise
<
MessageResp
>
run
run
(
command
:
string
)
:
Promise
<
MessageResp
>
Parameters
command:
string
Returns
Promise
<
MessageResp
>
send
Native
Msg
send
Native
Msg
(
cmd
:
MessageCommand
, opts
:
object
)
:
Promise
<
MessageResp
>
Posts using the one-time message API; native is killed after message returns
Parameters
cmd:
MessageCommand
opts:
object
Returns
Promise
<
MessageResp
>
temp
temp
(
content
:
string
)
:
Promise
<
MessageResp
>
Parameters
content:
string
Returns
Promise
<
MessageResp
>
write
write
(
file
:
string
, content
:
string
)
:
Promise
<
MessageResp
>
Parameters
file:
string
content:
string
Returns
Promise
<
MessageResp
>
Globals
"native_
background"
Message
Resp
Message
Command
NATIVE_
NAME
logger
editor
get
Best
Editor
get
Native
Messenger
Version
inpath
read
run
send
Native
Msg
temp
write
Generated using
TypeDoc
Posts using the one-time message API; native is killed after message returns