def METHOD_NAME(self):
    if not all([sock.is_linked for sock in self.inputs]):
        return
    out = []
    for sv_verts_a, sv_faces_a, sv_verts_b, sv_faces_b in zip(self.inputs['Verts A'].sv_get(),
                                                              self.inputs['Faces A'].sv_get(),
                                                              self.inputs['Verts B'].sv_get(),
                                                              self.inputs['Faces B'].sv_get()):
        out.append(merge_mesh(sv_verts_a, sv_faces_a, sv_verts_b, sv_faces_b, self.simple_mask, self.index_mask,
                              self.accuracy))
    if self.simple_mask and self.index_mask:
        out_verts, out_faces, mask_a, mask_b, face_index_a, face_index_b = zip(*out)
        self.outputs['Mask A'].sv_set(mask_a)
        self.outputs['Mask B'].sv_set(mask_b)
        self.outputs['Face index A'].sv_set(face_index_a)
        self.outputs['Face index B'].sv_set(face_index_b)
    elif self.simple_mask:
        out_verts, out_faces, mask_a, mask_b = zip(*out)
        self.outputs['Mask A'].sv_set(mask_a)
        self.outputs['Mask B'].sv_set(mask_b)
    elif self.index_mask:
        out_verts, out_faces, face_index_a, face_index_b = zip(*out)
        self.outputs['Face index A'].sv_set(face_index_a)
        self.outputs['Face index B'].sv_set(face_index_b)
    else:
        out_verts, out_faces = zip(*out)
    self.outputs['Verts'].sv_set(out_verts)
    self.outputs['Faces'].sv_set(out_faces)