(id, parent, weight, exclusive)
| 645 | // on the stream object itself. Otherwise, forward it on to the |
| 646 | // session (which may, in turn, forward it on to the server) |
| 647 | function onPriority(id, parent, weight, exclusive) { |
| 648 | const session = this[kOwner]; |
| 649 | if (session.destroyed) |
| 650 | return; |
| 651 | debugStream(id, session[kType], |
| 652 | 'priority [parent: %d, weight: %d, exclusive: %s]', |
| 653 | parent, weight, exclusive); |
| 654 | const emitter = session[kState].streams.get(id) || session; |
| 655 | if (!emitter.destroyed) { |
| 656 | emitter[kUpdateTimer](); |
| 657 | emitter.emit('priority', id, parent, weight, exclusive); |
| 658 | } |
| 659 | } |
| 660 | |
| 661 | // Called by the native layer when an error has occurred sending a |
| 662 | // frame. This should be exceedingly rare. |
nothing calls this directly
no test coverage detected
searching dependent graphs…