Function deno_core::op_resources[][src]

pub fn op_resources(
    state: &mut OpState,
    _args: (),
    _zero_copy: Option<ZeroCopyBuf>
) -> Result<Vec<(ResourceId, String)>, AnyError>

Return map of resources with id as key and string representation as value.

This op must be wrapped in op_sync.