Skip to content

Instantly share code, notes, and snippets.

View wbamberg's full-sized avatar
💭
maybe I like the misery

wbamberg

💭
maybe I like the misery
View GitHub Profile

Writing an Actor

A Simple Hello World

Here's a simple Hello World actor. It is a global actor (not associated with a given browser tab).

let protocol = require("devtools/server/protocol");

let {method, Arg, Option, RetVal} = protocol;