A method for wireless communication, the method being performed by a terminal device and comprising: obtaining configuration information transmitted by a network device, the configuration information being used to configure a plurality of transmission resources for the terminal device, the plurality of transmission resources comprising a plurality of sidelink, SL, transmission resources, and the SL transmission resources being used for physical sidelink shared channel, PSSCH, transmission; and characterized by determining whether to perform SL transmission on part of the plurality of SL transmission resources according to a time interval between the plurality of transmission resources, wherein determining whether to perform the SL transmission on the part of the plurality of SL transmission resources according to the time interval between the plurality of transmission resources comprises: if a time interval between at least one set of two adjacent SL transmission resources in the plurality of SL transmission resources is less than a first threshold, determining to perform the SL transmission on the part of the plurality of SL transmission resources; or if at least one set of two adjacent SL transmission resources in the plurality of SL transmission resources satisfies a first condition, determining to perform the SL transmission on the part of the plurality of SL transmission resources, wherein for any one set of two adjacent SL transmission resources in the at least one set of two adjacent SL transmission resources, two adjacent SL transmission resources satisfying the first condition comprises: a start position of a second SL transmission resource in the two adjacent SL transmission resources being before a position that is a second threshold plus an end position of an SL feedback resource, wherein the SL feedback resource corresponds to a first SL transmission resource in the two adjacent SL transmission resources and is used for physical sidelink feedback channel, PSFCH, transmission. obtaining configuration information transmitted by a network device, the configuration information being used to configure a plurality of transmission resources for the terminal device, the plurality of transmission resources comprising a plurality of sidelink, SL, transmission resources, and the SL transmission resources being used for physical sidelink shared channel, PSSCH, transmission; and characterized by determining whether to perform SL transmission on part of the plurality of SL transmission resources according to a time interval between the plurality of transmission resources, wherein determining whether to perform the SL transmission on the part of the plurality of SL transmission resources according to the time interval between the plurality of transmission resources comprises: if a time interval between at least one set of two adjacent SL transmission resources in the plurality of SL transmission resources is less than a first threshold, determining to perform the SL transmission on the part of the plurality of SL transmission resources; or if at least one set of two adjacent SL transmission resources in the plurality of SL transmission resources satisfies a first condition, determining to perform the SL transmission on the part of the plurality of SL transmission resources, wherein for any one set of two adjacent SL transmission resources in the at least one set of two adjacent SL transmission resources, two adjacent SL transmission resources satisfying the first condition comprises: a start position of a second SL transmission resource in the two adjacent SL transmission resources being before a position that is a second threshold plus an end position of an SL feedback resource, wherein the SL feedback resource corresponds to a first SL transmission resource in the two adjacent SL transmission resources and is used for physical sidelink feedback channel, PSFCH, transmission. if a time interval between at least one set of two adjacent SL transmission resources in the plurality of SL transmission resources is less than a first threshold, determining to perform the SL transmission on the part of the plurality of SL transmission resources; or if at least one set of two adjacent SL transmission resources in the plurality of SL transmission resources satisfies a first condition, determining to perform the SL transmission on the part of the plurality of SL transmission resources, wherein for any one set of two adjacent SL transmission resources in the at least one set of two adjacent SL transmission resources, two adjacent SL transmission resources satisfying the first condition comprises: a start position of a second SL transmission resource in the two adjacent SL transmission resources being before a position that is a second threshold plus an end position of an SL feedback resource, wherein the SL feedback resource corresponds to a first SL transmission resource in the two adjacent SL transmission resources and is used for physical sidelink feedback channel, PSFCH, transmission.