MCPcopy Create free account
hub / github.com/Effect-TS/effect / command

Method command

packages/ui/native/apple/EffectUIHost.swift:43–43  ·  view source on GitHub ↗

Runs a command JS sends with `Native.Host`'s `command`, on the main thread. `args` holds JSON values. Does nothing by default.

(_ name: String, _ args: [Any])

Source from the content-addressed store, hash-verified

41 /// Runs a command JS sends with `Native.Host`'s `command`, on the main
42 /// thread. `args` holds JSON values. Does nothing by default.
43 func command(_ name: String, _ args: [Any])
44}
45
46public extension EffectUIHostedView {

Callers 15

killQueryFunction · 0.65
runRawMethod · 0.65
makeRecorderFunction · 0.65
layerWebhookFunction · 0.65
handleRequestFunction · 0.65
NativeHost.test.tsFile · 0.65
clearFunction · 0.65
setSelectionFunction · 0.65
operationsFunction · 0.65
blurFocusedFunction · 0.65

Implementers 11

EffectUICheckboxViewpackages/ui/native/macos/EffectUICheck
EffectUIWindowDragViewpackages/ui/native/macos/EffectUIWindo
EffectUISymbolViewpackages/ui/native/apple/EffectUISymbo
EffectUISwiftUIViewpackages/ui/native/apple/EffectUIHost.
EffectUIGlassViewpackages/ui/native/apple/EffectUIGlass
EffectUIProgressViewpackages/ui/native/apple/EffectUIProgr
EffectUISegmentedViewpackages/ui/native/apple/EffectUISegme
EffectUIButtonViewpackages/ui/native/apple/EffectUIButto
AppBadgeexamples/ui/native-macos/macos/EffectU
AppBadgeexamples/ui/native/plugins/AppBadge.sw
_EffectUIHostSlotpackages/ui/native/apple/EffectUIHost.

Calls

no outgoing calls

Tested by 3

makeRecorderFunction · 0.52
handlerWithFunction · 0.52
interactionsForFunction · 0.52