package sihl-contract
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include Sihl_core.Container.Service.Sig
val lifecycle : Sihl_core.Container.Lifecycle.t
val dispatch : 'a t -> ?delay:Sihl_core.Time.duration -> 'a -> unit Lwt.t
dispatch job ?delay input
queues job
for processing while input input
is the input that the job needs to run. Use delay
to run the job earliest after a certain amount of time.
register_jobs jobs
registers jobs that can be dispatched.
Only registered jobs can be dispatched. Dispatching a job that was not registered does nothing.
val register : ?jobs:'a t list -> unit -> Sihl_core.Container.Service.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>