MCPcopy Create free account
hub / github.com/ElementsProject/lightning / command_timer_

Function command_timer_

plugins/libplugin.c:1831–1839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1829}
1830
1831struct plugin_timer *command_timer_(struct command *cmd,
1832 struct timerel t,
1833 struct command_result *(*cb)(struct command *cmd, void *cb_arg),
1834 void *cb_arg)
1835{
1836 return new_timer(cmd, cmd->plugin,
1837 take(tal_fmt(NULL, "%s-timer", cmd->id)),
1838 t, cb, cb_arg);
1839}
1840
1841void plugin_logv(struct plugin *p, enum log_level l,
1842 const char *fmt, va_list ap)

Callers

nothing calls this directly

Calls 1

new_timerFunction · 0.70

Tested by

no test coverage detected