Vik.Thread (Vik v0.0.1-rc1)
View SourceManages compilation and side-effects.
Communicates with the LiveViews over PubSub to report on compiler logs, stale Shards etc.
Ensures the
Vik.Store
is properly populated with the results produced by theVik.Compiler
.
Summary
Functions
@spec ensure_compiled!(Vik.Shard.t()) :: Vik.Result.t()
@spec eval(Vik.Shard.t()) :: {:ok, Vik.Result.t()} | {:error, Exception.t()}
@spec eval!(Vik.Shard.t()) :: Vik.Result.t()
@spec mark_stale(Vik.Shard.t()) :: :ok
@spec provision(integer()) :: :ok