Cell API
Docs
GitHub
Preparing search index...
@celljs/rpc
common
ChannelMessageWriter
Class ChannelMessageWriter
Hierarchy
AbstractMessageWriter
ChannelMessageWriter
Index
Constructors
constructor
Properties
channel
error
Count
Accessors
on
Close
on
Error
Methods
dispose
end
fire
Close
fire
Error
write
Constructors
constructor
new
ChannelMessageWriter
(
channel
:
Channel
)
:
ChannelMessageWriter
Parameters
channel
:
Channel
Returns
ChannelMessageWriter
Properties
Protected
Readonly
channel
channel
:
Channel
Protected
error
Count
errorCount
:
number
= 0
Accessors
on
Close
get
onClose
()
:
Event
<
void
>
Returns
Event
<
void
>
on
Error
get
onError
()
:
Event
<
[
Error
,
Message
|
undefined
,
number
|
undefined
]
>
Returns
Event
<
[
Error
,
Message
|
undefined
,
number
|
undefined
]
>
Methods
dispose
dispose
()
:
void
Returns
void
end
end
()
:
void
Returns
void
Protected
fire
Close
fireClose
()
:
void
Returns
void
Protected
fire
Error
fireError
(
error
:
any
,
message
?:
Message
,
count
?:
number
)
:
void
Parameters
error
:
any
Optional
message
:
Message
Optional
count
:
number
Returns
void
write
write
(
msg
:
Message
)
:
Promise
<
void
>
Parameters
msg
:
Message
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
channel
error
Count
Accessors
on
Close
on
Error
Methods
dispose
end
fire
Close
fire
Error
write
Docs
GitHub
Cell API
Loading...