1 /* Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ */
3 /* exported HelloActor */
6 const protocol
= require("resource://devtools/shared/protocol.js");
8 const helloSpec
= protocol
.generateActorSpec({
9 typeName
: "helloActor",
14 response
: { count
: protocol
.RetVal("number") },
19 class HelloActor
extends protocol
.Actor
{
21 super(conn
, helloSpec
);
26 return ++this.counter
;