GameServer.Async (GameServer v1.0.509)
Utilities for running best-effort background work.
This is intentionally used for non-critical side effects (cache invalidation, notifications, hooks) where we want the caller to return quickly.
Tasks are started under a Task.Supervisor when available (recommended in the
host app). If the supervisor isn't running (e.g. certain test setups), we
fall back to Task.start/1.
Summary
Types
@type zero_arity_fun() :: (-> any())
Functions
@spec run(zero_arity_fun()) :: :ok