Skip to content

Commit 1b5d3f2

Browse files
StartAutomatingStartAutomating
StartAutomating
authored and
StartAutomating
committed
feat: WebSocket.Server.ThreadJob.Receive ( Fixes #100 )
1 parent d6687bc commit 1b5d3f2

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

WebSocket.types.ps1xml

+18
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ if ($this.Output.Count -gt 0) {
2020
}
2121
</Script>
2222
</ScriptMethod>
23+
<ScriptMethod>
24+
<Name>Receive</Name>
25+
<Script>
26+
$this | Receive-Job -Keep -ErrorAction Ignore
27+
</Script>
28+
</ScriptMethod>
2329
<ScriptMethod>
2430
<Name>Send</Name>
2531
<Script>
@@ -86,6 +92,12 @@ if ($this.Output.Count -gt 0) {
8692
}
8793
</Script>
8894
</ScriptMethod>
95+
<ScriptMethod>
96+
<Name>Receive</Name>
97+
<Script>
98+
$this | Receive-Job -Keep -ErrorAction Ignore
99+
</Script>
100+
</ScriptMethod>
89101
<ScriptMethod>
90102
<Name>Send</Name>
91103
<Script>
@@ -183,6 +195,12 @@ if ($this.Output.Count -gt 0) {
183195
}
184196
</Script>
185197
</ScriptMethod>
198+
<ScriptMethod>
199+
<Name>Receive</Name>
200+
<Script>
201+
$this | Receive-Job -Keep -ErrorAction Ignore
202+
</Script>
203+
</ScriptMethod>
186204
</Members>
187205
</Type>
188206
</Types>

0 commit comments

Comments
 (0)