summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.electron/-debugger/send-command.html
blob: 47cac577e4f1caaf310726eebb91f4a84a72d139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Debugger.sendCommand - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.electron</a>&nbsp;/&nbsp;<a href="index.html">Debugger</a>&nbsp;/&nbsp;<a href="./send-command.html">sendCommand</a><br/>
<br/>
<h1>sendCommand</h1>
(js) <a name="pl.treksoft.kvision.electron.Debugger$sendCommand(kotlin.String, kotlin.Any, kotlin.Function2((kotlin.Any, , kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">sendCommand</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Debugger$sendCommand(kotlin.String, kotlin.Any, kotlin.Function2((kotlin.Any, , kotlin.Unit)))/method">method</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Debugger$sendCommand(kotlin.String, kotlin.Any, kotlin.Function2((kotlin.Any, , kotlin.Unit)))/commandParams">commandParams</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;definedExternally<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Debugger$sendCommand(kotlin.String, kotlin.Any, kotlin.Function2((kotlin.Any, , kotlin.Unit)))/callback">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">result</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
</BODY>
</HTML>