Module std

Module std 

Source
Expand description

Module for standard Aidoku source library functions.

Enums§

StdError
Error type for std functions.

Functions§

current_date
Gets the current time as a Unix timestamp.
free_result
Frees a byte array pointer returned by encode.
get_utc_offset
parse_date
Parses a date string into a Unix timestamp (seconds since epoch) using the specified format.
parse_date_with_options
Parses a date string into a Unix timestamp using the specified format, locale, and timezone.
parse_local_date
Parses a date string into a Unix timestamp using the specified format and the user’s local timezone.
print
Prints a message to the Aidoku logs.
read
Reads an object from a descriptor.
read_string
Reads a string from a descriptor.
send_partial_result
Sends a partial result to the source runner.
sleep
Blocks the current thread for the specified number of seconds.