MCPcopy
hub / github.com/tinygrad/tinygrad / start

Method start

examples/tinychat/index.js:172–178  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

170
171 super({
172 start(controller) {
173 parser = createParser((event) => {
174 if (event.type === "event") {
175 controller.enqueue(event);
176 }
177 });
178 },
179
180 transform(chunk) {
181 parser.feed(chunk);

Callers 15

encodeMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45
push_taskMethod · 0.45
__init__Method · 0.45
serve.pyFile · 0.45
hFunction · 0.45
waFunction · 0.45
xFunction · 0.45
TFunction · 0.45
AFunction · 0.45
EFunction · 0.45

Calls 2

enqueueMethod · 0.80
createParserFunction · 0.70

Tested by 5

test_getotherprocessMethod · 0.36
test_putotherprocessMethod · 0.36
setUpClassMethod · 0.36
setUpClassMethod · 0.36
run_rocprof_decoderFunction · 0.36