Function chorus.defer

async chorus.defer(spec: chorus.DeferSpec): nil

Defer until autocommand event

The current configuration source is suspended and resumed when the first autocommand event matching the given specification occurs.

Parameters:

spec (chorus.DeferSpec) – Specifies when to resume