MCPcopy
hub / github.com/mxschmitt/playwright-go / fromChannel

Function fromChannel

connection.go:403–408  ·  view source on GitHub ↗
(v any)

Source from the content-addressed store, hash-verified

401}
402
403func fromChannel(v any) any {
404 if ch, ok := v.(*channel); ok {
405 return ch.object
406 }
407 panic(fmt.Sprintf("fromChannel: expected *channel, got %T: %+v", v, v))
408}
409
410func fromNullableChannel(v any) any {
411 if v == nil {

Callers 15

SaveAsMethod · 0.85
ReadIntoBufferMethod · 0.85
RequestsMethod · 0.85
newPageFunction · 0.85
initializeMethod · 0.85
exportAllHarsMethod · 0.85
NewCDPSessionMethod · 0.85
NewPageMethod · 0.85
CloseMethod · 0.85
onBackgroundPageMethod · 0.85
newBrowserContextFunction · 0.85
EvaluateHandleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected