Skip to content

Commit 4d2ff45

Browse files
committed
Update Lua::poll_pending doc (still hidden)
1 parent 7268219 commit 4d2ff45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/state.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1976,6 +1976,8 @@ impl Lua {
19761976
}
19771977

19781978
/// Returns an internal `Poll::Pending` constant used for executing async callbacks.
1979+
///
1980+
/// Every time when [`Future`] is Pending, Lua corotine is suspended with this constant.
19791981
#[cfg(feature = "async")]
19801982
#[doc(hidden)]
19811983
#[inline(always)]

0 commit comments

Comments
 (0)