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

Function command_timer_

plugins/libplugin.c:1821–1829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1819}
1820
1821struct plugin_timer *command_timer_(struct command *cmd,
1822 struct timerel t,
1823 struct command_result *(*cb)(struct command *cmd, void *cb_arg),
1824 void *cb_arg)
1825{
1826 return new_timer(cmd, cmd->plugin,
1827 take(tal_fmt(NULL, "%s-timer", cmd->id)),
1828 t, cb, cb_arg);
1829}
1830
1831void plugin_logv(struct plugin *p, enum log_level l,
1832 const char *fmt, va_list ap)

Callers

nothing calls this directly

Calls 1

new_timerFunction · 0.70

Tested by

no test coverage detected