MCPcopy
hub / github.com/midrender/revideo / threadable

Function threadable

packages/core/src/decorators/threadable.ts:1–10  ·  view source on GitHub ↗
(customName?: string)

Source from the content-addressed store, hash-verified

1export function threadable(customName?: string): MethodDecorator {
2 return function (
3 _: unknown,
4 propertyKey: string | symbol,
5 descriptor: PropertyDescriptor,
6 ) {
7 descriptor.value.prototype.name = customName ?? propertyKey;
8 descriptor.value.prototype.threadable = true;
9 };
10}

Callers 15

CodeBlockClass · 0.90
LayoutClass · 0.90
LineClass · 0.90
TxtClass · 0.90
Shape.tsFile · 0.90
SVGClass · 0.90
NodeClass · 0.90
PathClass · 0.90
delay.tsFile · 0.90
any.tsFile · 0.90
sequence.tsFile · 0.90
scheduling.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected