On Fri, 11 Nov 2016 05:11:19 GMT, Uiy Uiy wrote:

Is there a way to pass a function to be executed by vibe.d after it is done initializing but before normal execution?

I suggest using the singleton with lazy initialization, wherein the connection is to be opened at the first call.