+++ title = "Questions" weight = 40 +++ ## I need to make a call that might take a few seconds. What is the best way to do this? Create a background thread in [do_before_launch](/server/ref/initialization#before-launch) or [do_launch](/server/ref/initialization#launch-launch-attached) to do the work. Use [on_timer](/server/ref/subscriptions#timer) to poll until the result is available.