type definition for an async signal value setter function.
TODO: should an PureAsyncSetter<T> return a Promise<T> ? or should it return a Promise<boolean>, which should tell whether or not the value has changed (i.e. !signal.equal(old_value, new_value))
type definition for an async signal value setter function.
TODO: should an
PureAsyncSetter<T>
return aPromise<T>
? or should it return aPromise<boolean>
, which should tell whether or not the value has changed (i.e.!signal.equal(old_value, new_value)
)