VoidFunction

VoidFunction

[3] Web IDLVoidFunction は、 引数も返す値もないコールバック関数を表すです。

仕様書

意味

[2] VoidFunction は、引数がなく、値を返さない (void) コールバック関数です >>1

文脈

[7] VoidFunction の用例

歴史

[4] [css-paint-api] Remove VoidFunction. (bfgeek著, ) https://github.com/w3c/css-houdini-drafts/commit/75cd597c6a2bf52413778d27ef149524f0ec1540

[5] Editorial: use VoidFunction instead of Function in queueMicrotask() (yuki3著, ) https://github.com/whatwg/html/commit/e000f5e3656be9d0bd252ae55151f2be028687df

[6] Change the callback type of queueMicrotask from Function to VoidFunction by yuki3 · Pull Request #4027 · whatwg/html () https://github.com/whatwg/html/pull/4027