mirror of
https://github.com/jech/galene.git
synced 2024-11-22 08:35:57 +01:00
Fix documentation of onerror callback.
This commit is contained in:
parent
0a0e89e3d3
commit
a25d46314a
1 changed files with 2 additions and 2 deletions
|
@ -947,8 +947,8 @@ function Stream(sc, id, localId, pc, up) {
|
|||
*/
|
||||
this.onclose = null;
|
||||
/**
|
||||
* onerror is called whenever an error occurs. If the error is
|
||||
* fatal, then onclose will be called afterwards.
|
||||
* onerror is called whenever a fatal error occurs. The stream will
|
||||
* then be closed, and onclose called normally.
|
||||
*
|
||||
* @type{(this: Stream, error: unknown) => void}
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue