From c1165815dff66bf9e0205873d7c2c9cd5da03822 Mon Sep 17 00:00:00 2001 From: phenine <99gs3fnr@anonaddy.me> Date: Fri, 6 Sep 2024 01:07:29 +0800 Subject: [PATCH] `openmw.async` wording and grammar. --- files/lua_api/openmw/async.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/lua_api/openmw/async.lua b/files/lua_api/openmw/async.lua index 64080ed96a..7a410336c0 100644 --- a/files/lua_api/openmw/async.lua +++ b/files/lua_api/openmw/async.lua @@ -1,5 +1,5 @@ --- --- `openmw.async` contains timers and coroutine utils. All functions require +-- `openmw.async` contains timers and coroutine utilities. All functions require -- the package itself as a first argument. -- @module async -- @usage local async = require('openmw.async') @@ -16,7 +16,7 @@ --- -- Calls callback(arg) in `delay` simulation seconds. --- Callback must be registered in advance. +-- The callback must be registered in advance. -- @function [parent=#async] newSimulationTimer -- @param self -- @param #number delay @@ -25,7 +25,7 @@ --- -- Calls callback(arg) in `delay` game seconds. --- Callback must be registered in advance. +-- The callback must be registered in advance. -- @function [parent=#async] newGameTimer -- @param self -- @param #number delay @@ -49,7 +49,7 @@ -- @param #function func --- --- Wraps Lua function with `Callback` object that can be used in async API calls. +-- Wraps a Lua function with a `Callback` object that can be used in async API calls. -- @function [parent=#async] callback -- @param self -- @param #function func