(fn)
| 297 | } |
| 298 | |
| 299 | function emitNonThenableWarning(fn) { |
| 300 | process.emitWarning(`tracePromise was called with the function '${fn.name || '<anonymous>'}', ` + |
| 301 | 'which returned a non-thenable.'); |
| 302 | } |
| 303 | |
| 304 | function channelFromMap(nameOrChannels, name, className) { |
| 305 | if (typeof nameOrChannels === 'string') { |