Function tarantool::fiber::id

source ·
pub fn id() -> FiberId
Expand description

Returns id of current fiber.

NOTE: if has_fiber_id returns false this function uses an inefficient implementation based on the lua api.