func (d *domainClient) Disable(ctx context.Context) (err error) {
	err = rpcc.Invoke(ctx, "Cast.disable", nil, nil, d.conn)
	if err != nil {
		err = &internal.OpError{Domain: "Cast", Op: "Disable", Err: err}
	}
	return
}
Disable invokes the Cast method. Stops observing for sinks and issues.
package cast
import (
	"context"
	"github.com/mafredri/cdp/protocol/internal"
	"github.com/mafredri/cdp/rpcc"
)
type domainClient struct{ conn *rpcc.Conn }
func NewClient(conn *rpcc.Conn) *domainClient {
	return &domainClient{conn: conn}
}
func (d *domainClient) Enable(ctx context.Context, args *EnableArgs) (err error) {
	if args != nil {
		err = rpcc.Invoke(ctx, "Cast.enable", args, nil, d.conn)
	} else {
		err = rpcc.Invoke(ctx, "Cast.enable", nil, nil, d.conn)
	}
	if err != nil {
		err = &internal.OpError{Domain: "Cast", Op: "Enable", Err: err}
	}
	return
}