Skip to content

Commit 0232f2e

Browse files
StartAutomatingStartAutomating
StartAutomating
authored and
StartAutomating
committed
feat: WebSocket.Server.ThreadJob.Clear ( Fixes #99 )
1 parent ec7e5d0 commit 0232f2e

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
@@ -3,6 +3,12 @@
33
<Type>
44
<Name>WebSocket.Client.ThreadJob</Name>
55
<Members>
6+
<ScriptMethod>
7+
<Name>Clear</Name>
8+
<Script>
9+
$this.Output.Clear()
10+
</Script>
11+
</ScriptMethod>
612
<ScriptMethod>
713
<Name>Pop</Name>
814
<Script>
@@ -63,6 +69,12 @@ if ($message -is [Collections.IList] -and $message -isnot [byte[]]) {
6369
<Type>
6470
<Name>WebSocket.Server.ThreadJob</Name>
6571
<Members>
72+
<ScriptMethod>
73+
<Name>Clear</Name>
74+
<Script>
75+
$this.Output.Clear()
76+
</Script>
77+
</ScriptMethod>
6678
<ScriptMethod>
6779
<Name>Pop</Name>
6880
<Script>
@@ -154,6 +166,12 @@ if ($message -is [Collections.IList] -and $message -isnot [byte[]]) {
154166
<Type>
155167
<Name>WebSocket.ThreadJob</Name>
156168
<Members>
169+
<ScriptMethod>
170+
<Name>Clear</Name>
171+
<Script>
172+
$this.Output.Clear()
173+
</Script>
174+
</ScriptMethod>
157175
<ScriptMethod>
158176
<Name>Pop</Name>
159177
<Script>

0 commit comments

Comments
 (0)