pub fn emit_client(
ctx_name: &str,
table: &UnitTable,
own_types: &HashMap<String, Arc<TypeDecl>>,
) -> Option<TsProgram>Expand description
The client for ctx_name, or None when no foreign caller may call any of
its services. own_types is the context’s own type namespace
(combined_types_for), the table its contract hashes are computed in.