Function deno_core::op_resources[][src]

pub fn op_resources(
    state: &mut OpState,
    _args: Value,
    _zero_copy: &mut [ZeroCopyBuf]
) -> Result<Value, AnyError>

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

This op must be wrapped in json_op_sync.