IonizeDocsionize.cc ↗

API Reference

IonSignal Library

Signal objects created by the executor.

6 members

IonSignal.newConstructs a new IonSignal object with Connect, Once, Wait, and Fire methods. Equivalent to PsmSignal.new.IonSignal.WaitTimeoutYields until the signal fires or the timeout elapses. Returns true plus the fired arguments on success, or false alone on timeout.IonSignal.DisconnectAllRemoves every connected callback from the signal at once.IonSignal.DestroyDisconnects all listeners and makes the signal permanently inert. Future Connect and Fire calls are no-ops.IonSignal.GetConnectionCountReturns the number of callbacks currently connected to the signal.IonSignal.PipeForwards every fire from this signal into target. Returns the underlying IonConnection; disconnect it to stop forwarding.